https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86542
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Oct 12 14:52:18 2018 New Revision: 265108 URL: https://gcc.gnu.org/viewcvs?rev=265108&root=gcc&view=rev Log: Backported from mainline 2018-07-17 Jakub Jelinek <ja...@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. Added: branches/gcc-7-branch/libgomp/testsuite/libgomp.c++/pr86542.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/omp-low.c branches/gcc-7-branch/libgomp/ChangeLog