]> 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 14:52:18 +0000 (16:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 12 Oct 2018 14:52:18 +0000 (16:52 +0200)
commitaf899eccd306cde0d72055eacec16a0d916f8769
treecacd70560a7cec41a709e6a881904200e87ba54b
parent8a171da8b31837cb30aac55a1f5119cf424f722d
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: r265108
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr86542.C [new file with mode: 0644]