This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/46101] [4.6 Regression] ICE: in build_abbrev_table, at dwarf2out.c:10333 with -feliminate-dwarf2-dups -g
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Dec 2010 01:29:22 +0000
- Subject: [Bug debug/46101] [4.6 Regression] ICE: in build_abbrev_table, at dwarf2out.c:10333 with -feliminate-dwarf2-dups -g
- Auto-submitted: auto-generated
- References: <bug-46101-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46101
--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> 2010-12-13 01:29:11 UTC ---
Created attachment 22729
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22729
another testcase
Running testsuite with -g -feliminate-dwarf2-dups still gives similiar (or the
same?) ICE. It seems those failures happen only in C++0x mode. Attached is one
such reduced testcase. Should I open new PR for that?
$ gcc -std=c++0x -g -feliminate-dwarf2-dups pr46101-2.C
pr46101-2.C:8:4: internal compiler error: in build_abbrev_table, at
dwarf2out.c:10476
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tha failing assert is:
gcc_assert (dwarf_version >= 4 || AT_ref (a)->die_id.die_symbol);
(indeed it passes with -gdwarf-4)