[Bug c++/39219] [4.3 regression] attribute doesn't work with enums properly

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 28 20:35:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39219

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-28 20:29:47 UTC ---
Author: jason
Date: Thu Apr 28 20:29:44 2011
New Revision: 173133

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173133
Log:
gcc/cp

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

    PR c++/39219
    * parser.c (cp_parser_enum_specifier): Apply all attributes.

gcc/testsuite/

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

    PR c++/39219
    * g++.dg/parse/attr3.C: New.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/attr3.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/parser.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list