This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22257] New: ICE on invalid code, forgot parentheses for constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2005 17:31:02 -0000
- Subject: [Bug c++/22257] New: ICE on invalid code, forgot parentheses for constructor
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I found this while reducing PR 22253.
The following invalid code ICEs:
struct _Vector_impl
{
_Vector_impl
: _M_start(0), _M_finish(0){}
};
--
Summary: ICE on invalid code, forgot parentheses for constructor
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22257