[Bug middle-end/83977] [8 Regression] ICE in simd_clone_clauses_extract, at omp-simd-clone.c:184
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 24 16:29:00 GMT 2018
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
More information about the Gcc-bugs
mailing list