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 #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-29 16:29:11 UTC ---
Author: dodji
Date: Mon Nov 29 16:29:05 2010
New Revision: 167246

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167246
Log:
Fix PR debug/46101

gcc/
    * dwarf2out.c (lookup_type_die_strip_naming_typedef): New
    function.
    (scope_die_for, gen_type_die_for_member): Replace uses of
    lookup_type_die with use of lookup_type_die_strip_naming_typedef.

gcc/testsuite/
    * g++.dg/debug/dwarf2/typedef5.C: New test

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/typedef5.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


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