[Bug c++/32054] Storage classes on anonymous unions in classes

2012-05-25 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32054

--- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 
2012-05-25 23:40:17 UTC ---
Author: paolo
Date: Fri May 25 23:40:10 2012
New Revision: 187902

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=187902
Log:
/cp
2012-05-25  Paolo Carlini  paolo.carl...@oracle.com

PR c++/32054
* parser.c (cp_parser_member_declaration): A storage class is not
allowed in a declaration of an anonymous aggregate in a class scope.

/testsuite
2012-05-25  Paolo Carlini  paolo.carl...@oracle.com

PR c++/32054
* g++.dg/other/anon-union3.C: New.


Added:
trunk/gcc/testsuite/g++.dg/other/anon-union3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog


[Bug c++/32054] Storage classes on anonymous unions in classes

2012-05-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32054

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC|gcc-bugs at gcc dot gnu.org |
 Resolution||FIXED
   Target Milestone|--- |4.8.0

--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2012-05-25 
23:42:28 UTC ---
Fixed for 4.8.0.


[Bug c++/32054] Storage classes on anonymous unions in classes

2009-12-26 Thread paolo dot carlini at oracle dot com


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
   |dot org |dot com
 Status|NEW |ASSIGNED


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



[Bug c++/32054] Storage classes on anonymous unions in classes

2008-12-31 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-12-31 18:00 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||accepts-invalid
   Last reconfirmed|-00-00 00:00:00 |2008-12-31 18:00:45
   date||


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