This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r251019 - in /trunk: gcc/ChangeLog gcc/omp-low....
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 10 Aug 2017 00:33:21 -0000
- Subject: r251019 - in /trunk: gcc/ChangeLog gcc/omp-low....
Author: jakub
Date: Thu Aug 10 00:33:20 2017
New Revision: 251019
URL: https://gcc.gnu.org/viewcvs?rev=251019&root=gcc&view=rev
Log:
PR c/81687
* omp-low.c (omp_copy_decl): Don't remap FORCED_LABEL or DECL_NONLOCAL
LABEL_DECLs.
* tree-cfg.c (move_stmt_op): Don't adjust DECL_CONTEXT of FORCED_LABEL
or DECL_NONLOCAL labels.
(move_stmt_r) <case GIMPLE_LABEL>: Adjust DECL_CONTEXT of FORCED_LABEL
or DECL_NONLOCAL labels here.
* testsuite/libgomp.c/pr81687-1.c: New test.
* testsuite/libgomp.c/pr81687-2.c: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr81687-1.c
trunk/libgomp/testsuite/libgomp.c/pr81687-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/tree-cfg.c
trunk/libgomp/ChangeLog