https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62092
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 15 07:40:37 2014 New Revision: 214002 URL: https://gcc.gnu.org/viewcvs?rev=214002&root=gcc&view=rev Log: PR middle-end/62092 * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove OMP_CLAUSE_SHARED for global vars if the global var is mentioned in OMP_CLAUSE_MAP in some outer target region. Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/gimplify.c