This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Issues with limbo DIEs in dwarf2out.c


I have the following 16-line Ada program that will cause an ICE on
x86 with -g in limbo_die processing.

 procedure Test_1 is

 type SIMPLE_BOOLEAN_ARRAY_TYPE is array (NATURAL range <>) of BOOLEAN;

 type SIMPLE_BOOLEAN_ARRAY_ACCESS_TYPE is access SIMPLE_BOOLEAN_ARRAY_TYPE;

 Boolean_Array_Access : SIMPLE_BOOLEAN_ARRAY_ACCESS_TYPE;

 Boolean_Array_Access_2 : SIMPLE_BOOLEAN_ARRAY_ACCESS_TYPE;

   begin
         Boolean_Array_Access.all :=
            (Boolean_Array_Access.all OR
             Boolean_Array_Access_2.all);

 end Test_1;

The problem is the new_die call in add_bound.  The tree there is an
expression, in this case MAX_EXPR, so there's no way to get a 
context for it.

I'm confused as to how this is supposed to work.  Can somebody help?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]