This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32108] [4.2/4.3 regression] ICE with __label__ outside of block scope
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2007 15:38:59 -0000
- Subject: [Bug c++/32108] [4.2/4.3 regression] ICE with __label__ outside of block scope
- References: <bug-32108-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from paolo at gcc dot gnu dot org 2007-07-30 15:38 -------
Subject: Bug 32108
Author: paolo
Date: Mon Jul 30 15:38:39 2007
New Revision: 127064
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127064
Log:
cp/
2007-07-30 Paolo Carlini <pcarlini@suse.de>
PR c++/32108
* semantics.c (finish_label_stmt): Reject the __label__
extension outside function scopes.
testsuite/
2007-07-30 Paolo Carlini <pcarlini@suse.de>
PR c++/32108
* g++.dg/ext/label6.C: New.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/ext/label6.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/semantics.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32108