re PR c/79940 (OpenMP pragma - internal compiler error with taskloop)
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Mar 2017 17:21:06 +0000 (18:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 8 Mar 2017 17:21:06 +0000 (18:21 +0100)
commiteebc5e2dde79cb6179ffa9bf19bfe12d5da8b3e3
treebb9a7f1a7cf351f848d540d5e91ef5504a8b3965
parenta46586c34f32db516de3e5a2c61968015cfcd9d0
re PR c/79940 (OpenMP pragma - internal compiler error with taskloop)

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.

From-SVN: r245980
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr79940.c [new file with mode: 0644]