r251853 - in /branches/gcc-7-branch: gcc/Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Sep 7 20:26:00 GMT 2017


Author: jakub
Date: Thu Sep  7 20:26:34 2017
New Revision: 251853

URL: https://gcc.gnu.org/viewcvs?rev=251853&root=gcc&view=rev
Log:
2017-09-07  Jakub Jelinek  <jakub@redhat.com>

	Backported from mainline
	2017-08-09  Jakub Jelinek  <jakub@redhat.com>

	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:
    branches/gcc-7-branch/libgomp/testsuite/libgomp.c/pr81687-1.c
    branches/gcc-7-branch/libgomp/testsuite/libgomp.c/pr81687-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/omp-low.c
    branches/gcc-7-branch/gcc/tree-cfg.c
    branches/gcc-7-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list