re PR middle-end/86660 (libgomp.c++/for-15.C ICEs with nvptx offloading)
authorJakub Jelinek <jakub@redhat.com>
Thu, 26 Jul 2018 16:12:02 +0000 (18:12 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 26 Jul 2018 16:12:02 +0000 (18:12 +0200)
commit5883c5ccc9339a2cbce7754179bed7279d98d4aa
treeaeea1b4aee66b98c517921562febedce95453201
parentc83b4b824214039fea696083e6a888aa7c9063ce
re PR middle-end/86660 (libgomp.c++/for-15.C ICEs with nvptx offloading)

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.

From-SVN: r263010
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr86660.c [new file with mode: 0644]