]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR middle-end/86542 (wrong-code for collapsed taskloop which needs omp_c...
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Oct 2018 17:30:45 +0000 (19:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 12 Oct 2018 17:30:45 +0000 (19:30 +0200)
commit1688485d3757ea2746e92d066c9f9041d6267350
tree5c67ed8774b2a41883bafdaa5fdb6e6dae0549bb
parent13d7c032ddb77ba0623d27dcedfb7d55751a83cb
backport: re PR middle-end/86542 (wrong-code for collapsed taskloop which needs omp_cpyfn)

Backported from mainline
2018-07-17  Jakub Jelinek  <jakub@redhat.com>

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: r265118
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr86542.C [new file with mode: 0644]