This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16297] New: [3.5] regression ICE on A::int
- From: "reichelt 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 2004 15:34:34 -0000
- Subject: [Bug c++/16297] New: [3.5] regression ICE on A::int
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Mark, your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00888.html
sems to be responsible for a regression on mainline:
The compiler ICEs on the following invalid code snippet:
============================
struct A
{
A::int foo();
};
============================
The error message is:
bug.cc:7: error: expected unqualified-id before "int"
bug.cc:7: internal compiler error: in grokdeclarator, at cp/decl.c:6435
Please submit a full bug report, [etc.]
Could you please have a look?
--
Summary: [3.5] regression ICE on A::int
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,mmitchel at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16297