diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-18 09:54:17 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-18 09:54:17 +0000 |
commit | fc0fe623c9ea9dbf572d940113b7823f97d9f0d0 (patch) | |
tree | 158395f580cf5b961c621c869752368d1abf6c43 | |
parent | c1bee668987f371617586edafa0dfccf04162a83 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224599 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/cp/ChangeLog | 4 |
1 files changed, 3 insertions, 1 deletions
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 <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> |