* [Bug c++/43081] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
@ 2010-02-23 1:47 ` jason at gcc dot gnu dot org
2010-02-23 1:51 ` [Bug c++/43081] [4.3/4.4/4.5 regression] " jason at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-23 1:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jason at gcc dot gnu dot org 2010-02-23 01:47 -------
This isn't specific to lambdas; this testcase gets the same ICE:
struct A
{
typedef void (F)();
F f = 1;
};
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[c++0x] ICE with invalid use|ICE with invalid in-class
|of lambda expression |initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
2010-02-23 1:47 ` [Bug c++/43081] ICE with invalid in-class initializer jason at gcc dot gnu dot org
@ 2010-02-23 1:51 ` jason at gcc dot gnu dot org
2010-03-01 11:30 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-23 1:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jason at gcc dot gnu dot org 2010-02-23 01:50 -------
...which is a regression against 3.4, which says
wa.C:4: error: invalid initializer for virtual method `void A::f()'
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.0.4 4.4.1 4.5.0
Known to work| |3.4.6
Last reconfirmed|0000-00-00 00:00:00 |2010-02-23 01:50:47
date| |
Summary|ICE with invalid in-class |[4.3/4.4/4.5 regression] ICE
|initializer |with invalid in-class
| |initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
2010-02-23 1:47 ` [Bug c++/43081] ICE with invalid in-class initializer jason at gcc dot gnu dot org
2010-02-23 1:51 ` [Bug c++/43081] [4.3/4.4/4.5 regression] " jason at gcc dot gnu dot org
@ 2010-03-01 11:30 ` rguenth at gcc dot gnu dot org
2010-03-01 11:49 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 11:30 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-03-01 11:30 ` rguenth at gcc dot gnu dot org
@ 2010-03-01 11:49 ` rguenth at gcc dot gnu dot org
2010-03-19 16:18 ` matz at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 11:49 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-03-01 11:49 ` rguenth at gcc dot gnu dot org
@ 2010-03-19 16:18 ` matz at gcc dot gnu dot org
2010-03-20 17:00 ` matz at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-19 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from matz at gcc dot gnu dot org 2010-03-19 16:18 -------
I have a patch: http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00899.html
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |matz at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-02-23 01:50:47 |2010-03-19 16:18:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-03-19 16:18 ` matz at gcc dot gnu dot org
@ 2010-03-20 17:00 ` matz at gcc dot gnu dot org
2010-03-20 18:01 ` simartin at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-20 17:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from matz at gcc dot gnu dot org 2010-03-20 17:00 -------
But Simons patch was accepted. Simon: can you simply combine the two
testcases into one? No need to artificially lengthen the time for make check.
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
AssignedTo|matz at gcc dot gnu dot org |simartin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2010-03-20 17:00 ` matz at gcc dot gnu dot org
@ 2010-03-20 18:01 ` simartin at gcc dot gnu dot org
2010-03-20 18:04 ` [Bug c++/43081] [4.3/4.4 " simartin at gcc dot gnu dot org
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: simartin at gcc dot gnu dot org @ 2010-03-20 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from simartin at gcc dot gnu dot org 2010-03-20 18:01 -------
Subject: Bug 43081
Author: simartin
Date: Sat Mar 20 18:01:18 2010
New Revision: 157597
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157597
Log:
gcc/cp/
2010-03-20 Simon Martin <simartin@users.sourceforge.net>
PR c++/43081:
* decl2.c (grokfield): Handle invalid initializers for member
functions.
gcc/testsuite/
2010-03-20 Simon Martin <simartin@users.sourceforge.net>
Michael Matz <matz@suse.de>
PR c++/43081
* g++.dg/parse/crash56.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/parse/crash56.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2010-03-20 18:01 ` simartin at gcc dot gnu dot org
@ 2010-03-20 18:04 ` simartin at gcc dot gnu dot org
2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: simartin at gcc dot gnu dot org @ 2010-03-20 18:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from simartin at gcc dot gnu dot org 2010-03-20 18:04 -------
Fixed in 4.5 (I've merged the two test cases into one, and have improved it
with parts from Michael's)
--
simartin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.4 4.4.1 4.5.0 |4.0.4 4.4.1
Known to work|3.4.6 |3.4.6 4.5.0
Last reconfirmed|2010-03-19 16:18:21 |2010-03-20 18:04:25
date| |
Summary|[4.3/4.4/4.5 regression] ICE|[4.3/4.4 regression] ICE
|with invalid in-class |with invalid in-class
|initializer |initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/43081] [4.3/4.4 regression] ICE with invalid in-class initializer
2010-02-15 14:34 [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2010-03-20 18:04 ` [Bug c++/43081] [4.3/4.4 " simartin at gcc dot gnu dot org
@ 2010-05-22 18:35 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
^ permalink raw reply [flat|nested] 10+ messages in thread