This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248663 - in /branches/gcc-5-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 30 May 2017 08:17:54 -0000
- Subject: r248663 - in /branches/gcc-5-branch/gcc: cp/Cha...
Author: jakub
Date: Tue May 30 08:17:54 2017
New Revision: 248663
URL: https://gcc.gnu.org/viewcvs?rev=248663&root=gcc&view=rev
Log:
Backported from mainline
2017-03-22 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr80141.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/semantics.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog