re PR middle-end/62092 (libgomp.c++/target-2.C FAIL while compiling for OpenMP 4...
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Aug 2014 07:40:03 +0000 (09:40 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Aug 2014 07:40:03 +0000 (09:40 +0200)
commit7de20fbd6e9490871a9e4ebf3ee261d943061b1c
tree1b1020670186e844813f2aa6599f04cd1bfc8814
parentd50b463e75b1fbfda20d14d7a8c65bcf014ba41f
re PR middle-end/62092 (libgomp.c++/target-2.C FAIL while compiling for OpenMP 4.0 offload target)

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.

From-SVN: r214001
gcc/ChangeLog
gcc/gimplify.c