* [Bug c++/43868] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
@ 2010-04-23 16:32 ` joachim dot reichel at gmx dot de
2010-04-23 16:36 ` [Bug c++/43868] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: joachim dot reichel at gmx dot de @ 2010-04-23 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joachim dot reichel at gmx dot de 2010-04-23 16:31 -------
Created an attachment (id=20473)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20473&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
2010-04-23 16:32 ` [Bug c++/43868] " joachim dot reichel at gmx dot de
@ 2010-04-23 16:36 ` rguenth at gcc dot gnu dot org
2010-04-24 13:47 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-23 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-23 16:35 -------
Confirmed.
Program received signal SIGSEGV, Segmentation fault.
0x00000000007541dd in pp_cxx_unqualified_id (pp=0x18e1280, t=0x0)
at /space/rguenther/src/svn/trunk/gcc/cp/cxx-pretty-print.c:150
150 enum tree_code code = TREE_CODE (t);
(gdb) bt
#0 0x00000000007541dd in pp_cxx_unqualified_id (pp=0x18e1280, t=0x0)
at /space/rguenther/src/svn/trunk/gcc/cp/cxx-pretty-print.c:150
#1 0x0000000000754634 in pp_cxx_unqualified_id (pp=0x18e1280,
t=0x7ffff5b48a80)
at /space/rguenther/src/svn/trunk/gcc/cp/cxx-pretty-print.c:202
#2 0x000000000075602d in pp_cxx_qualified_id (pp=0x18e1280, t=0x7ffff5b48a80)
at /space/rguenther/src/svn/trunk/gcc/cp/cxx-pretty-print.c:319
#3 0x000000000075ac83 in pp_cxx_simple_type_specifier (pp=0x18e1280,
t=0x7ffff5b48a80)
at /space/rguenther/src/svn/trunk/gcc/cp/cxx-pretty-print.c:1220
#4 0x00000000007c1f5c in pp_c_specifier_qualifier_list (pp=0x18e1280,
t=0x7ffff5b48a80)
at /space/rguenther/src/svn/trunk/gcc/c-pretty-print.c:471
...
#18 0x000000000061a524 in dump_type (t=0x7ffff5b5abd0, flags=0)
at /space/rguenther/src/svn/trunk/gcc/cp/error.c:383
#19 0x0000000000623f9f in dump_function_name (t=0x7ffff5b53400, flags=0)
at /space/rguenther/src/svn/trunk/gcc/cp/error.c:1430
#20 0x000000000062b382 in lang_decl_name (decl=0x7ffff5b53400, v=0,
translate=0 '\000') at /space/rguenther/src/svn/trunk/gcc/cp/error.c:2361
#21 0x00000000006fa0e7 in cxx_printable_name_internal (decl=0x7ffff5b53400,
v=0, translate=0 '\000')
at /space/rguenther/src/svn/trunk/gcc/cp/tree.c:1406
#22 0x00000000006fa3db in cxx_printable_name (decl=0x7ffff5b53400, v=0)
at /space/rguenther/src/svn/trunk/gcc/cp/tree.c:1443
#23 0x00000000004a0e5e in cxx_dwarf_name (t=0x7ffff5b53400, verbosity=0)
at /space/rguenther/src/svn/trunk/gcc/cp/cp-lang.c:148
#24 0x00000000008d3838 in dwarf2_name (decl=0x7ffff5b53400, scope=0)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:10848
#25 0x00000000008e5570 in add_name_and_src_coords_attributes (
die=0x7ffff5b57e70, decl=0x7ffff5b53400)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16802
#26 0x00000000008e9483 in gen_subprogram_die (decl=0x7ffff5b53400,
context_die=0x7ffff5b57dc0)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:17960
#27 0x00000000008efcd7 in gen_decl_die (decl=0x7ffff5b53400,
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2010-04-23 16:35:42
date| |
Summary|ICE with -g |[4.5/4.6 Regression] ICE
| |with -g
Target Milestone|--- |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
2010-04-23 16:32 ` [Bug c++/43868] " joachim dot reichel at gmx dot de
2010-04-23 16:36 ` [Bug c++/43868] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-04-24 13:47 ` hjl dot tools at gmail dot com
2010-04-30 19:00 ` jason at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-24 13:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-04-24 13:47 -------
It is caused by revision 153978:
http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00196.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
` (2 preceding siblings ...)
2010-04-24 13:47 ` hjl dot tools at gmail dot com
@ 2010-04-30 19:00 ` jason at gcc dot gnu dot org
2010-04-30 20:49 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-30 19:00 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-04-23 16:35:42 |2010-04-30 18:59:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
` (3 preceding siblings ...)
2010-04-30 19:00 ` jason at gcc dot gnu dot org
@ 2010-04-30 20:49 ` jason at gcc dot gnu dot org
2010-04-30 21:26 ` jason at gcc dot gnu dot org
2010-05-04 4:43 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-30 20:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2010-04-30 20:48 -------
Subject: Bug 43868
Author: jason
Date: Fri Apr 30 20:48:12 2010
New Revision: 158947
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158947
Log:
PR c++/43868
* cxx-pretty-print.c (pp_cxx_decl_specifier_seq): Move pmf handling...
(pp_cxx_type_specifier_seq): ...here.
Added:
trunk/gcc/testsuite/g++.dg/template/ptrmem21.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cxx-pretty-print.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
` (4 preceding siblings ...)
2010-04-30 20:49 ` jason at gcc dot gnu dot org
@ 2010-04-30 21:26 ` jason at gcc dot gnu dot org
2010-05-04 4:43 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-30 21:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2010-04-30 21:25 -------
Subject: Bug 43868
Author: jason
Date: Fri Apr 30 21:24:27 2010
New Revision: 158952
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158952
Log:
PR c++/43868
* cxx-pretty-print.c (pp_cxx_type_specifier_seq): Handle pmfs.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/ptrmem21.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/cxx-pretty-print.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/43868] [4.5/4.6 Regression] ICE with -g
2010-04-23 16:31 [Bug c++/43868] New: ICE with -g joachim dot reichel at gmx dot de
` (5 preceding siblings ...)
2010-04-30 21:26 ` jason at gcc dot gnu dot org
@ 2010-05-04 4:43 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-04 4:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2010-05-04 04:43 -------
Fixed for 4.5.1.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43868
^ permalink raw reply [flat|nested] 8+ messages in thread