[Bug c++/39028] [4.3/4.4 Regression] C++ front-end rejects __label__ at the beginning of a block after for and while

2009-01-30 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-01-30 12:00:49
   date||


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



[Bug c++/39028] [4.3/4.4 Regression] C++ front-end rejects __label__ at the beginning of a block after for and while

2009-01-30 Thread jakub at gcc dot gnu dot org


--- Comment #1 from jakub at gcc dot gnu dot org  2009-01-30 16:17 ---
Subject: Bug 39028

Author: jakub
Date: Fri Jan 30 16:17:30 2009
New Revision: 143797

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143797
Log:
PR c++/39028
* parser.c (cp_parser_already_scoped_statement): Handle __label__
declarations.

* g++.dg/ext/label12.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/ext/label12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c++/39028] [4.3/4.4 Regression] C++ front-end rejects __label__ at the beginning of a block after for and while

2009-01-29 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
   Keywords||rejects-valid
Summary|C++ front-end rejects   |[4.3/4.4 Regression] C++
   |__label__ at the beginning|front-end rejects
   |of a block after for and  |__label__ at the beginning
   |while |of a block after for and
   ||while
   Target Milestone|--- |4.3.4


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