PR middle-end/86660
commitc1eaba31b0dc62510e445d7295333be06c714720
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 16:12:02 +0000 (26 16:12 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 16:12:02 +0000 (26 16:12 +0000)
treeaeea1b4aee66b98c517921562febedce95453201
parent5ab8a859b5a67216c7ffa2734eaf3620aabb0714
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263010 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr86660.c [new file with mode: 0644]