https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 26 16:16:33 2018 New Revision: 263012 URL: https://gcc.gnu.org/viewcvs?rev=263012&root=gcc&view=rev Log: 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-8-branch/libgomp/testsuite/libgomp.c/pr86660.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/omp-low.c branches/gcc-8-branch/libgomp/ChangeLog