public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509
@ 2011-01-22 21:49 pluto at agmk dot net
2011-01-22 21:51 ` [Bug c++/47416] " pluto at agmk dot net
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: pluto at agmk dot net @ 2011-01-22 21:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
Summary: ICE in build_data_member_initialization, at
cp/semantics.c:5509
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pluto@agmk.net
g++46 -std=gnu++0x -c espmFileGenerator.ii
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
@ 2011-01-22 21:51 ` pluto at agmk dot net
2011-01-25 12:01 ` [Bug c++/47416] [4.6 Regression] " rguenth at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pluto at agmk dot net @ 2011-01-22 21:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
--- Comment #1 from Pawel Sikora <pluto at agmk dot net> 2011-01-22 21:44:24 UTC ---
Created attachment 23079
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23079
testcase
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
2011-01-22 21:51 ` [Bug c++/47416] " pluto at agmk dot net
@ 2011-01-25 12:01 ` rguenth at gcc dot gnu.org
2011-01-25 18:43 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-25 12:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
2011-01-22 21:51 ` [Bug c++/47416] " pluto at agmk dot net
2011-01-25 12:01 ` [Bug c++/47416] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-01-25 18:43 ` jakub at gcc dot gnu.org
2011-01-29 16:40 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-25 18:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-25 17:51:29 UTC ---
cc1plus errors on that testcase before ICEing, thus I'll try to delta reduce
the testcase as ice-on-invalid.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (2 preceding siblings ...)
2011-01-25 18:43 ` jakub at gcc dot gnu.org
@ 2011-01-29 16:40 ` hjl.tools at gmail dot com
2011-01-31 8:49 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-29 16:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.29 15:01:32
Ever Confirmed|0 |1
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-29 15:01:32 UTC ---
build_data_member_initialization is added by revision 168271:
http://gcc.gnu.org/ml/gcc-cvs/2010-12/msg00956.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (3 preceding siblings ...)
2011-01-29 16:40 ` hjl.tools at gmail dot com
@ 2011-01-31 8:49 ` jakub at gcc dot gnu.org
2011-01-31 16:56 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-31 8:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-31 08:20:29 UTC ---
Created attachment 23173
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23173
pr47416.ii
Somewhat reduced testcase which preserves the property that after diagnosing
one error it ICEs in build_data_member_initialization.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (4 preceding siblings ...)
2011-01-31 8:49 ` jakub at gcc dot gnu.org
@ 2011-01-31 16:56 ` jakub at gcc dot gnu.org
2011-01-31 20:52 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-31 16:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-31 16:18:33 UTC ---
Created attachment 23181
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23181
gcc46-pr47416.patch
Untested fix.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (5 preceding siblings ...)
2011-01-31 16:56 ` jakub at gcc dot gnu.org
@ 2011-01-31 20:52 ` jakub at gcc dot gnu.org
2011-01-31 21:47 ` jakub at gcc dot gnu.org
2011-02-02 18:25 ` dnovillo at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-31 20:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-31 20:19:31 UTC ---
Author: jakub
Date: Mon Jan 31 20:19:25 2011
New Revision: 169447
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169447
Log:
PR c++/47416
* semantics.c (build_data_member_initialization): Handle
STATEMENT_LIST always instead of just for CLEANUP_BODY.
* g++.dg/cpp0x/pr47416.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr47416.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (6 preceding siblings ...)
2011-01-31 20:52 ` jakub at gcc dot gnu.org
@ 2011-01-31 21:47 ` jakub at gcc dot gnu.org
2011-02-02 18:25 ` dnovillo at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-31 21:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-31 20:58:28 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
` (7 preceding siblings ...)
2011-01-31 21:47 ` jakub at gcc dot gnu.org
@ 2011-02-02 18:25 ` dnovillo at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-02-02 18:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416
--- Comment #8 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:12:42 UTC ---
Author: dnovillo
Date: Wed Feb 2 18:12:36 2011
New Revision: 169726
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169726
Log:
PR c++/47416
* semantics.c (build_data_member_initialization): Handle
STATEMENT_LIST always instead of just for CLEANUP_BODY.
* g++.dg/cpp0x/pr47416.C: New test.
Added:
branches/google/integration/gcc/testsuite/g++.dg/cpp0x/pr47416.C
Modified:
branches/google/integration/gcc/cp/ChangeLog
branches/google/integration/gcc/cp/semantics.c
branches/google/integration/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-02-02 18:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 21:49 [Bug c++/47416] New: ICE in build_data_member_initialization, at cp/semantics.c:5509 pluto at agmk dot net
2011-01-22 21:51 ` [Bug c++/47416] " pluto at agmk dot net
2011-01-25 12:01 ` [Bug c++/47416] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-01-25 18:43 ` jakub at gcc dot gnu.org
2011-01-29 16:40 ` hjl.tools at gmail dot com
2011-01-31 8:49 ` jakub at gcc dot gnu.org
2011-01-31 16:56 ` jakub at gcc dot gnu.org
2011-01-31 20:52 ` jakub at gcc dot gnu.org
2011-01-31 21:47 ` jakub at gcc dot gnu.org
2011-02-02 18:25 ` dnovillo at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).