[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 Dodji Seketeli dodji at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #13 from Dodji Seketeli dodji at gcc dot gnu.org 2011-11-09 08:09:27 UTC --- Should be fixed in trunk now.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #2 from David Edelsohn dje at gcc dot gnu.org 2011-11-08 15:58:59 UTC --- I see the exact same issue on AIX. template_type_parm 710936c0 _Up type_0 type_6 VOID align 8 symtab 2114 alias set -1 canonical type 701097e0 index 0 level 1 orig_level 2 pointer_to_this pointer_type 71093720 chain type_decl 710940e0 _Up In file included from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/alloc_traits.h:35:0, from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ext/alloc_traits.h:35, from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_construct.h:63, from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_tempbuf.h:62, from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_algo.h:64, from /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/algorithm:63, from /farm/dje/src/src/libstdc++-v3/src/debug.cc:31: /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/ptr_traits.h: In instantiation of 'struct std::pointer_traitsdouble*': /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/alloc_traits.h:106:2: required from 'struct std::allocator_traitsstd::allocatordouble ' /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ext/alloc_traits.h:90:10: required from 'struct __gnu_cxx::__alloc_traitsstd::allocatordouble ' /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_vector.h:76:28: required from 'struct std::_Vector_basedouble, std::allocatordouble ' /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_vector.h:208:11: required from 'class std::vectordouble' /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/random.h:4716:22: required from here /tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/ptr_traits.h:158:12: internal compiler error: in dbxout_type, at dbxout.c:2373
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #3 from David Edelsohn dje at gcc dot gnu.org 2011-11-08 16:01:24 UTC --- Created attachment 25753 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25753 preprocessed libstdc++/src/debug.cc
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 David Edelsohn dje at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2011-11-08 CC||dje at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #4 from David Edelsohn dje at gcc dot gnu.org 2011-11-08 16:02:10 UTC --- Confirmed.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #5 from Rainer Orth ro at gcc dot gnu.org 2011-11-08 17:13:03 UTC --- A quick reghunt on i386-pc-solaris2.11 and rebuilding debug.cc with -gstabs reveals that this patch 2011-11-08 Jonathan Wakely jwakely@gmail.com * include/bits/ptr_traits.h (__rebind): Replace with... (rebind): Implement using alias-declaration. * include/ext/pointer.h (__rebind): Replace with... (rebind): Implement using alias-declaration. * include/bits/alloc_traits.h (__rebind_alloc, __rebind_traits): Replace with... (rebind_alloc, rebind_traits): Implement using alias-declaration. * include/ext/alloc_traits.h (rebind): Use rebind_alloc instead of __rebind_alloc. * include/std/scoped_allocator (rebind): Likewise. triggered it. Obviously, that cannot be the real culprit, the actual bug is elsewhere. Rainer
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 Dodji Seketeli dodji at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 Steve Ellcey sje at cup dot hp.com changed: What|Removed |Added Target|alpha-dec-osf5.1b, |alpha-dec-osf5.1b, |i386-pc-solaris2.11 |i386-pc-solaris2.11, ||hppa2.0w-hp-hpux11.11 CC||sje at cup dot hp.com Host|alpha-dec-osf5.1b, |alpha-dec-osf5.1b, |i386-pc-solaris2.11 |i386-pc-solaris2.11, ||hppa2.0w-hp-hpux11.11 Build|alpha-dec-osf5.1b, |alpha-dec-osf5.1b, |i386-pc-solaris2.11 |i386-pc-solaris2.11, ||hppa2.0w-hp-hpux11.11 --- Comment #6 from Steve Ellcey sje at cup dot hp.com 2011-11-08 17:33:22 UTC --- I see this on hppa2.0w-hp-hpux11.11 as well.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #7 from dodji at seketeli dot org dodji at seketeli dot org 2011-11-08 18:57:50 UTC --- A smaller reproducer: $ cat -n test.cc 1template class C 2struct A { 3templateclass U using B = U*; 4int a; 5}; 6 7Aint a; ./cc1plus ./test.cc -quiet -gstabs+ -std=gnu++11 test.cc: In instantiation of 'struct Aint': test.cc:7:8: required from here test.cc:2:8: internal compiler error: in dbxout_type, at dbxout.c:2372 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #8 from Dodji Seketeli dodji at gcc dot gnu.org 2011-11-08 20:19:28 UTC --- Created attachment 25757 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25757 Candidate fix I am testing this patch. If you could test it on your system, that in the mean time, it could help. Sorry for the inconvenience.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #9 from Dodji Seketeli dodji at gcc dot gnu.org 2011-11-08 21:40:03 UTC --- A candidate fix was posted to http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01249.html
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #10 from Steve Ellcey sje at cup dot hp.com 2011-11-08 23:08:37 UTC --- I did a successful bootstrap on hppa2.0w-hp-hpux11.11 with the patch. I am still running the test suite.
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #11 from David Edelsohn dje at gcc dot gnu.org 2011-11-09 01:23:05 UTC --- The patch allows bootstrap to proceed past the previous failure point. Thanks!
[Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 --- Comment #12 from Dodji Seketeli dodji at gcc dot gnu.org 2011-11-09 07:51:17 UTC --- Author: dodji Date: Wed Nov 9 07:51:12 2011 New Revision: 181193 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181193 Log: PR debug/51032 - ICE in dbxout_type, at dbxout.c:2372 gcc/cp/ * decl2.c (check_member_template): Accept alias templates and ... * parser.c (cp_parser_alias_declaration): ... use it here. gcc/testsuite/ * g++.dg/cpp0x/alias-decl-debug-0.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog