URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
-- { dg-do run }
|
-- { dg-do run }
|
|
|
procedure kill_value is
|
procedure kill_value is
|
type Struct;
|
type Struct;
|
type Pstruct is access all Struct;
|
type Pstruct is access all Struct;
|
|
|
type Struct is record Next : Pstruct; end record;
|
type Struct is record Next : Pstruct; end record;
|
|
|
Vap : Pstruct := new Struct;
|
Vap : Pstruct := new Struct;
|
|
|
begin
|
begin
|
for J in 1 .. 10 loop
|
for J in 1 .. 10 loop
|
if Vap /= null then
|
if Vap /= null then
|
while Vap /= null
|
while Vap /= null
|
loop
|
loop
|
Vap := Vap.Next;
|
Vap := Vap.Next;
|
end loop;
|
end loop;
|
end if;
|
end if;
|
end loop;
|
end loop;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.