URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
-- { dg-do run }
|
-- { dg-do run }
|
|
|
with System;
|
with System;
|
|
|
procedure Alignment8 is
|
procedure Alignment8 is
|
|
|
type R is record
|
type R is record
|
I : Integer;
|
I : Integer;
|
F : Long_Long_Integer;
|
F : Long_Long_Integer;
|
end record;
|
end record;
|
for R'Alignment use 8;
|
for R'Alignment use 8;
|
|
|
procedure Q (A : System.Address) is
|
procedure Q (A : System.Address) is
|
F : Long_Long_Integer;
|
F : Long_Long_Integer;
|
for F'Address use A;
|
for F'Address use A;
|
begin
|
begin
|
F := 0;
|
F := 0;
|
end;
|
end;
|
|
|
V : R;
|
V : R;
|
|
|
begin
|
begin
|
Q (V.F'Address);
|
Q (V.F'Address);
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.