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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct  4 07:50:38 2017
New Revision: 253395

URL: https://gcc.gnu.org/viewcvs?rev=253395&root=gcc&view=rev
Log:
        PR tree-optimization/82374
        * omp-low.c (create_omp_child_function): Copy DECL_ATTRIBUTES,
        DECL_FUNCTION_SPECIFIC_OPTIMIZATION,
        DECL_FUNCTION_SPECIFIC_TARGET and DECL_FUNCTION_VERSIONED from
        current_function_decl to the new decl.

        * gcc.dg/gomp/pr82374.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr82374.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to