r273966 - in /branches/gcc-9-branch: gcc/Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Aug 1 06:31:00 GMT 2019


Author: jakub
Date: Thu Aug  1 06:31:20 2019
New Revision: 273966

URL: https://gcc.gnu.org/viewcvs?rev=273966&root=gcc&view=rev
Log:
	Backported from mainline
	2019-07-31  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/91301
	* gimplify.c (gimplify_omp_for): If for class iterator on
	distribute parallel for there is no data sharing clause
	on inner_for_stmt, look for private clause on combined
	parallel too and if found, move it to inner_for_stmt.

	* testsuite/libgomp.c++/for-27.C: New test.

Added:
    branches/gcc-9-branch/libgomp/testsuite/libgomp.c++/for-27.C
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/gimplify.c
    branches/gcc-9-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list