[Bug c++/32108] [4.2/4.3 regression] ICE with __label__ outside of block scope
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 30 15:39:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list