[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-20 Thread matz at gcc dot gnu dot org


--- 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



[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-20 Thread simartin at gcc dot gnu dot org


--- 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=gccview=revrev=157597
Log:
gcc/cp/

2010-03-20  Simon Martin  simar...@users.sourceforge.net

PR c++/43081:
* decl2.c (grokfield): Handle invalid initializers for member
functions.

gcc/testsuite/

2010-03-20  Simon Martin  simar...@users.sourceforge.net
Michael Matz  m...@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



[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-19 Thread matz at gcc dot gnu dot org


--- 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



[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-01 Thread rguenth at gcc dot gnu dot org


-- 

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



[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-01 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081



[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-02-22 Thread jason at gcc dot gnu dot org


--- 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|-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