aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2015-06-18 11:54:17 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2015-06-18 11:54:17 +0200
commitcc63a7fac467b03b48491d45724fa0e38fb1e58a (patch)
tree158395f580cf5b961c621c869752368d1abf6c43 /gcc
parent91ff150410721f627691550dfe871907c6b0175e (diff)
downloadgcc-cc63a7fac467b03b48491d45724fa0e38fb1e58a.zip
gcc-cc63a7fac467b03b48491d45724fa0e38fb1e58a.tar.gz
gcc-cc63a7fac467b03b48491d45724fa0e38fb1e58a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0ebce19..153b3c4 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -7,7 +7,9 @@
2015-06-17 Jakub Jelinek <jakub@redhat.com>
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 <amacleod@redhat.com>