Commit ae0e5982 by Jason Merrill Committed by Jason Merrill

re PR debug/9039 (ICE, anonymous union, gen_decl_die, dwarf2out.c:11974)

        PR debug/9039
        * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.

From-SVN: r64412
parent bac06cd3
2003-03-15 Jason Merrill <jason@redhat.com>
PR debug/9039
* dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
PR debug/6387
* dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
function DIEs at toplevel.
......
......@@ -12194,6 +12194,9 @@ gen_decl_die (decl, context_die)
break;
default:
if ((int)TREE_CODE (decl) > NUM_TREE_CODES)
/* Probably some frontend-internal decl. Assume we don't care. */
break;
abort ();
}
}
......
// PR debug/9039
// Verify that the debugging backends don't get confused by ALIAS_DECLs.
int foo()
{
union
{
int z;
unsigned int w;
};
w = 0;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment