[Bug c++/80141] ICE with pragma omp declare
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 22 18:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80141
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 22 18:53:47 2017
New Revision: 246403
URL: https://gcc.gnu.org/viewcvs?rev=246403&root=gcc&view=rev
Log:
PR c++/80141
* semantics.c (finish_omp_clause) <case OMP_CLAUSE_SIMDLEN,
case OMP_CLAUSE_ALIGNED>: Call maybe_constant_value only when not
processing_template_decl.
* g++.dg/gomp/pr80141.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr80141.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list