[Bug c++/51229] New: [C++0x] [4.7 Regression] Broken diagnostic: 'integer_cst' not supported by dump_dec
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 19 21:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51229
Bug #: 51229
Summary: [C++0x] [4.7 Regression] Broken diagnostic:
'integer_cst' not supported by dump_dec
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
Trunk produces a broken error message for the following code snippet (using
"-std=c++0x"):
========================
struct A
{
int i;
};
A a = { [0] {} };
========================
bug.cc:6:10: error: expected identifier before numeric constant
bug.cc:6:16: error: 'A' has no non-static data member named '#'integer_cst' not
supported by dump_decl#<declaration error>'
More information about the Gcc-bugs
mailing list