r234779 - in /trunk/gcc: ChangeLog gimplify.c o...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Apr 6 12:42:00 GMT 2016
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
More information about the Gcc-cvs
mailing list