This is the mail archive of the gcc-bugs@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]

[Bug debug/46101] [4.6 Regression] ICE: in build_abbrev_table, at dwarf2out.c:10333 with -feliminate-dwarf2-dups -g


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)


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