[Bug middle-end/86542] wrong-code for collapsed taskloop which needs omp_cpyfn

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 12 17:31:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86542

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 12 17:30:45 2018
New Revision: 265118

URL: https://gcc.gnu.org/viewcvs?rev=265118&root=gcc&view=rev
Log:
        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.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c++/pr86542.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/omp-low.c
    branches/gcc-6-branch/libgomp/ChangeLog


More information about the Gcc-bugs mailing list