This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r234779 - in /trunk/gcc: ChangeLog gimplify.c o...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Apr 2016 12:42:24 -0000
- Subject: r234779 - in /trunk/gcc: ChangeLog gimplify.c o...
Author: jakub
Date: Wed Apr 6 12:42:24 2016
New Revision: 234779
URL: https://gcc.gnu.org/viewcvs?rev=234779&root=gcc&view=rev
Log:
PR middle-end/70550
* tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define.
* gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit
firstprivate clauses.
* omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for
OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts.
(lower_omp_target): Set TREE_NO_WARNING for
non-addressable possibly uninitialized vars which are copied into
addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT.
* c-c++-common/gomp/pr70550-1.c: New test.
* c-c++-common/gomp/pr70550-2.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr70550-1.c
trunk/gcc/testsuite/c-c++-common/gomp/pr70550-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.h