This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r218328 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 03 Dec 2014 18:41:42 -0000
- Subject: r218328 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
Author: paolo
Date: Wed Dec 3 18:41:42 2014
New Revision: 218328
URL: https://gcc.gnu.org/viewcvs?rev=218328&root=gcc&view=rev
Log:
/cp
2014-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/63558
* decl.c (identify_goto): Return a bool if diagnostic is emitted.
(check_previous_goto_1): Consistently emit permerror + inform.
(check_goto): Likewise.
/testsuite
2014-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/63558
* g++.dg/init/goto3.C: New.
* g++.dg/eh/goto2.C: Adjust.
* g++.dg/ext/vla14.C: Likewise.
* g++.dg/gomp/block-1.C: Likewise.
* g++.dg/gomp/block-2.C: Likewise.
* g++.dg/gomp/block-3.C: Likewise.
* g++.dg/gomp/block-5.C: Likewise.
* g++.dg/gomp/target-1.C: Likewise.
* g++.dg/gomp/target-2.C: Likewise.
* g++.dg/gomp/taskgroup-1.C: Likewise.
* g++.dg/gomp/teams-1.C: Likewise.
* g++.dg/init/goto2.C: Likewise.
* g++.dg/warn/pedantic1.C: Likewise.
* g++.old-deja/g++.jason/jump.C: Likewise.
* g++.old-deja/g++.law/arm6.C: Likewise.
* g++.old-deja/g++.other/goto1.C: Likewise.
* g++.old-deja/g++.other/goto3.C: Likewise.
* g++.old-deja/g++.other/init9.C: Likewise.
Added:
trunk/gcc/testsuite/g++.dg/init/goto3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/eh/goto2.C
trunk/gcc/testsuite/g++.dg/ext/vla14.C
trunk/gcc/testsuite/g++.dg/gomp/block-1.C
trunk/gcc/testsuite/g++.dg/gomp/block-2.C
trunk/gcc/testsuite/g++.dg/gomp/block-3.C
trunk/gcc/testsuite/g++.dg/gomp/block-5.C
trunk/gcc/testsuite/g++.dg/gomp/target-1.C
trunk/gcc/testsuite/g++.dg/gomp/target-2.C
trunk/gcc/testsuite/g++.dg/gomp/taskgroup-1.C
trunk/gcc/testsuite/g++.dg/gomp/teams-1.C
trunk/gcc/testsuite/g++.dg/init/goto2.C
trunk/gcc/testsuite/g++.dg/warn/pedantic1.C
trunk/gcc/testsuite/g++.old-deja/g++.jason/jump.C
trunk/gcc/testsuite/g++.old-deja/g++.law/arm6.C
trunk/gcc/testsuite/g++.old-deja/g++.other/goto1.C
trunk/gcc/testsuite/g++.old-deja/g++.other/goto3.C
trunk/gcc/testsuite/g++.old-deja/g++.other/init9.C