[Bug middle-end/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

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


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

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 12 14:46:18 2018
New Revision: 265105

URL: https://gcc.gnu.org/viewcvs?rev=265105&root=gcc&view=rev
Log:
        Backported from mainline
        2018-07-26  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/86660
        * omp-low.c (scan_sharing_clauses): Don't ignore map clauses for
        declare target to variables if they have always,{to,from,tofrom} map
        kinds.

        * testsuite/libgomp.c/pr86660.c: New test.

Added:
    branches/gcc-7-branch/libgomp/testsuite/libgomp.c/pr86660.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/omp-low.c
    branches/gcc-7-branch/libgomp/ChangeLog


More information about the Gcc-bugs mailing list