]> gcc.gnu.org Git - gcc.git/commit
re PR c++/66571 (Template substitution causes some OpenMP rejects-valid)
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Jun 2015 18:01:05 +0000 (20:01 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Jun 2015 18:01:05 +0000 (20:01 +0200)
commit64b5fcfa3bc6ac1d5f0bab9d5de3a8cd2259d70e
tree92044082e42a4af15c4b09548ef58e9de84438d5
parent8c8b9f3265820507a1a9472fee7384b265692380
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: r224569
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr66571-1.C [new file with mode: 0644]
This page took 0.0643590000000001 seconds and 5 git commands to generate.