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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 24 16:28:47 2018
New Revision: 257023

URL: https://gcc.gnu.org/viewcvs?rev=257023&root=gcc&view=rev
Log:
        PR middle-end/83977
        * tree.c (free_lang_data_in_decl): Don't clear DECL_ABSTRACT_ORIGIN
        here.
        * omp-low.c (create_omp_child_function): Remove "omp declare simd"
        attributes from DECL_ATTRIBUTES (decl) without affecting
        DECL_ATTRIBUTES (current_function_decl).
        * omp-simd-clone.c (expand_simd_clones): Ignore DECL_ARTIFICIAL
        functions with non-NULL DECL_ABSTRACT_ORIGIN.

        * c-c++-common/gomp/pr83977-1.c: New test.
        * c-c++-common/gomp/pr83977-2.c: New test.
        * c-c++-common/gomp/pr83977-3.c: New test.
        * gfortran.dg/gomp/pr83977.f90: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr83977-1.c
    trunk/gcc/testsuite/c-c++-common/gomp/pr83977-2.c
    trunk/gcc/testsuite/c-c++-common/gomp/pr83977-3.c
    trunk/gcc/testsuite/gfortran.dg/gomp/pr83977.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/omp-simd-clone.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c

Reply via email to