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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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

Reply via email to