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: unassig...@gcc.gnu.org
        ReportedBy: reich...@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>'

Reply via email to