[Bug c/79431] [6/7 Regression] ICE in get, at cgraph.h:397
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 9 14:02:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79431
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 9 14:01:44 2017
New Revision: 245302
URL: https://gcc.gnu.org/viewcvs?rev=245302&root=gcc&view=rev
Log:
PR c/79431
* gimplify.c (gimplify_adjust_omp_clauses): Ignore
"omp declare target link" attribute unless is_global_var.
* omp-offload.c (find_link_var_op): Likewise.
c/
* c-parser.c (c_parser_omp_declare_target): Don't invoke
symtab_node::get on automatic variables.
cp/
* parser.c (cp_parser_oacc_declare): Formatting fix.
(cp_parser_omp_declare_target): Don't invoke symtab_node::get on
automatic variables.
testsuite/
* c-c++-common/gomp/pr79431.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr79431.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/gimplify.c
trunk/gcc/omp-offload.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list