This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Issues with limbo DIEs in dwarf2out.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Sun, 20 Jan 02 16:28:58 EST
- Subject: 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?