2 -- { dg-options "-O2 -g" }
4 package body Debug13
is
6 procedure Compile
(P
: Natural)
8 Max_Pos
: constant Natural := P
;
9 type Position_Set
is array (1 .. Max_Pos
) of Boolean;
11 Empty
: constant Position_Set
:= (others => False);
13 type Position_Set_Array
is array (1 .. Max_Pos
) of Position_Set
;
15 Follow
: Position_Set_Array
:= (others => Empty
);
17 function Get_Follows
return Position_Set
;
21 function Get_Follows
return Position_Set
is
22 Result
: Position_Set
:= Empty
;
24 Result
:= Result
or Follow
(1);
30 Next
: constant Position_Set
:= Get_Follows
;