diff options
author | Jason Merrill <jason@redhat.com> | 2003-03-15 12:41:35 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-03-15 12:41:35 -0500 |
commit | ae0e598210b587bef1e9aaceaf54ffb21c5017d9 (patch) | |
tree | 176af36ed24310b3ba88c8936113ecf1ca26773a /gcc/dwarf2out.c | |
parent | bac06cd3c4f3b42d335b42b0c67d58f10222d12e (diff) | |
download | gcc-ae0e598210b587bef1e9aaceaf54ffb21c5017d9.zip gcc-ae0e598210b587bef1e9aaceaf54ffb21c5017d9.tar.gz gcc-ae0e598210b587bef1e9aaceaf54ffb21c5017d9.tar.bz2 |
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index e31fcb8..fec07a7 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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 (); } } |