[Bug middle-end/62092] libgomp.c++/target-2.C FAIL while compiling for OpenMP 4.0 offload target

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 15 07:40:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62092

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 15 07:40:03 2014
New Revision: 214001

URL: https://gcc.gnu.org/viewcvs?rev=214001&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:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c



More information about the Gcc-bugs mailing list