* [Bug debug/51032] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
@ 2011-11-08 15:55 ` ro at gcc dot gnu.org
2011-11-08 15:59 ` ro at gcc dot gnu.org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-11-08 15:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
2011-11-08 15:55 ` [Bug debug/51032] " ro at gcc dot gnu.org
@ 2011-11-08 15:59 ` ro at gcc dot gnu.org
2011-11-08 16:01 ` [Bug debug/51032] [4.7 Regression] " dje at gcc dot gnu.org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-11-08 15:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-11-08 15:55:19 UTC ---
Created attachment 25752
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25752
preprocessed input
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
2011-11-08 15:55 ` [Bug debug/51032] " ro at gcc dot gnu.org
2011-11-08 15:59 ` ro at gcc dot gnu.org
@ 2011-11-08 16:01 ` dje at gcc dot gnu.org
2011-11-08 16:02 ` dje at gcc dot gnu.org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu.org @ 2011-11-08 16:01 UTC (permalink / raw)
To: gcc-bugs
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_traits<double*>':
/tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/alloc_traits.h:106:2:
required from 'struct std::allocator_traits<std::allocator<double> >'
/tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/ext/alloc_traits.h:90:10:
required from 'struct __gnu_cxx::__alloc_traits<std::allocator<double> >'
/tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_vector.h:76:28:
required from 'struct std::_Vector_base<double, std::allocator<double> >'
/tmp/Aldy/powerpc-ibm-aix5.3.0.0/libstdc++-v3/include/bits/stl_vector.h:208:11:
required from 'class std::vector<double>'
/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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (2 preceding siblings ...)
2011-11-08 16:01 ` [Bug debug/51032] [4.7 Regression] " dje at gcc dot gnu.org
@ 2011-11-08 16:02 ` dje at gcc dot gnu.org
2011-11-08 16:14 ` dje at gcc dot gnu.org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu.org @ 2011-11-08 16:02 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (3 preceding siblings ...)
2011-11-08 16:02 ` dje at gcc dot gnu.org
@ 2011-11-08 16:14 ` dje at gcc dot gnu.org
2011-11-08 17:14 ` ro at gcc dot gnu.org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu.org @ 2011-11-08 16:14 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (4 preceding siblings ...)
2011-11-08 16:14 ` dje at gcc dot gnu.org
@ 2011-11-08 17:14 ` ro at gcc dot gnu.org
2011-11-08 17:34 ` dodji at gcc dot gnu.org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-11-08 17:14 UTC (permalink / raw)
To: gcc-bugs
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.gcc@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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (5 preceding siblings ...)
2011-11-08 17:14 ` ro at gcc dot gnu.org
@ 2011-11-08 17:34 ` dodji at gcc dot gnu.org
2011-11-08 18:02 ` sje at cup dot hp.com
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-08 17:34 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (6 preceding siblings ...)
2011-11-08 17:34 ` dodji at gcc dot gnu.org
@ 2011-11-08 18:02 ` sje at cup dot hp.com
2011-11-08 19:12 ` dodji at seketeli dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: sje at cup dot hp.com @ 2011-11-08 18:02 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (7 preceding siblings ...)
2011-11-08 18:02 ` sje at cup dot hp.com
@ 2011-11-08 19:12 ` dodji at seketeli dot org
2011-11-08 20:24 ` dodji at gcc dot gnu.org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dodji at seketeli dot org @ 2011-11-08 19:12 UTC (permalink / raw)
To: gcc-bugs
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
1 template <class C>
2 struct A {
3 template<class U> using B = U*;
4 int a;
5 };
6
7 A<int> a;
./cc1plus ./test.cc -quiet -gstabs+ -std=gnu++11
test.cc: In instantiation of 'struct A<int>':
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (8 preceding siblings ...)
2011-11-08 19:12 ` dodji at seketeli dot org
@ 2011-11-08 20:24 ` dodji at gcc dot gnu.org
2011-11-08 21:56 ` dodji at gcc dot gnu.org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-08 20:24 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (9 preceding siblings ...)
2011-11-08 20:24 ` dodji at gcc dot gnu.org
@ 2011-11-08 21:56 ` dodji at gcc dot gnu.org
2011-11-08 23:11 ` sje at cup dot hp.com
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-08 21:56 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (10 preceding siblings ...)
2011-11-08 21:56 ` dodji at gcc dot gnu.org
@ 2011-11-08 23:11 ` sje at cup dot hp.com
2011-11-09 2:15 ` dje at gcc dot gnu.org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: sje at cup dot hp.com @ 2011-11-08 23:11 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (11 preceding siblings ...)
2011-11-08 23:11 ` sje at cup dot hp.com
@ 2011-11-09 2:15 ` dje at gcc dot gnu.org
2011-11-09 7:54 ` dodji at gcc dot gnu.org
2011-11-09 8:49 ` dodji at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: dje at gcc dot gnu.org @ 2011-11-09 2:15 UTC (permalink / raw)
To: gcc-bugs
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!
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (12 preceding siblings ...)
2011-11-09 2:15 ` dje at gcc dot gnu.org
@ 2011-11-09 7:54 ` dodji at gcc dot gnu.org
2011-11-09 8:49 ` dodji at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-09 7:54 UTC (permalink / raw)
To: gcc-bugs
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=gcc&view=rev&rev=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
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/51032] [4.7 Regression] ICE in dbxout_type, at dbxout.c:2372
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
` (13 preceding siblings ...)
2011-11-09 7:54 ` dodji at gcc dot gnu.org
@ 2011-11-09 8:49 ` dodji at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-09 8:49 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 16+ messages in thread