re PR middle-end/86542 (wrong-code for collapsed taskloop which needs omp_cpyfn)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Jul 2018 10:54:52 +0000 (12:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Jul 2018 10:54:52 +0000 (12:54 +0200)
commita3bccfa17c34a937d0222ec084fe9ca97d88a01f
treeb44bf57a4b472439c666eb658fac4ec8961c1bc5
parent8e93ce66b268e7b213d8d11c7f7b08856c4a2162
re PR middle-end/86542 (wrong-code for collapsed taskloop which needs omp_cpyfn)

PR middle-end/86542
* omp-low.c (create_task_copyfn): Copy over also fields corresponding
to _looptemp_ clauses, other than the first two.

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

From-SVN: r262815
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr86542.C [new file with mode: 0644]