This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262776 - in /trunk: gcc/ChangeLog gcc/gimplify...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 08:06:25 -0000
- Subject: r262776 - in /trunk: gcc/ChangeLog gcc/gimplify...
Author: jakub
Date: Tue Jul 17 08:06:25 2018
New Revision: 262776
URL: https://gcc.gnu.org/viewcvs?rev=262776&root=gcc&view=rev
Log:
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:
trunk/libgomp/testsuite/libgomp.c++/pr86539.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/libgomp/ChangeLog