https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66571
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jun 18 09:54:17 2015 New Revision: 224599 URL: https://gcc.gnu.org/viewcvs?rev=224599&root=gcc&view=rev Log: 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. Modified: trunk/gcc/cp/ChangeLog