PR c++/66571
commitfc0fe623c9ea9dbf572d940113b7823f97d9f0d0
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 2015 09:54:17 +0000 (18 09:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 2015 09:54:17 +0000 (18 09:54 +0000)
tree158395f580cf5b961c621c869752368d1abf6c43
parentc1bee668987f371617586edafa0dfccf04162a83
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
gcc/cp/ChangeLog