From: Jakub Jelinek Date: Thu, 18 Jun 2015 09:54:17 +0000 (+0200) Subject: re PR c++/66571 (Template substitution causes some OpenMP rejects-valid) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc63a7fac467b03b48491d45724fa0e38fb1e58a;p=gcc.git re PR c++/66571 (Template substitution causes some OpenMP rejects-valid) PR c++/66571 * pt.c (tsubst_omp_clause_decl): New function. (tsubst_omp_clauses): Use it or tsubst_copy instead of tsubst_expr on OMP_CLAUSE_DECL. * g++.dg/gomp/pr66571-1.C: New test. From-SVN: r224599 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0ebce1920a1..153b3c4cd74 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -7,7 +7,9 @@ 2015-06-17 Jakub Jelinek PR c++/66571 - * g++.dg/gomp/pr66571-1.C: New test. + * pt.c (tsubst_omp_clause_decl): New function. + (tsubst_omp_clauses): Use it or tsubst_copy instead of + tsubst_expr on OMP_CLAUSE_DECL. 2015-06-17 Andrew MacLeod