https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 26 16:12:02 2018 New Revision: 263010 URL: https://gcc.gnu.org/viewcvs?rev=263010&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: trunk/libgomp/testsuite/libgomp.c/pr86660.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/libgomp/ChangeLog