[Bug c++/16297] New: [3.5] regression ICE on A::int
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 30 15:34:00 GMT 2004
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
More information about the Gcc-bugs
mailing list