[Bug c/79940] [6 Regression] OpenMP pragma - internal compiler error with taskloop
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 5 21:39:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 5 21:37:47 2017
New Revision: 247682
URL: https://gcc.gnu.org/viewcvs?rev=247682&root=gcc&view=rev
Log:
Backported from mainline
2017-03-08 Jakub Jelinek <jakub@redhat.com>
PR c/79940
* gimplify.c (gimplify_omp_for): Replace index var in outer
taskloop statement with an artificial variable and add
OMP_CLAUSE_PRIVATE clause for it.
* testsuite/libgomp.c/pr79940.c: New test.
Added:
branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr79940.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/gimplify.c
branches/gcc-6-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list