r263014 - in /branches/gcc-8-branch: gcc/Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Jul 26 16:32:00 GMT 2018


Author: jakub
Date: Thu Jul 26 16:32:51 2018
New Revision: 263014

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

	PR middle-end/86539
	* gimplify.c (gimplify_omp_for): Ensure taskloop firstprivatized init
	and cond temporaries don't have reference type if iterator has
	pointer type.  For init use &for_pre_body instead of pre_p if
	for_pre_body is non-empty.

	* testsuite/libgomp.c++/pr86539.C: New test.

Added:
    branches/gcc-8-branch/libgomp/testsuite/libgomp.c++/pr86539.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/gimplify.c
    branches/gcc-8-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list