re PR c++/35337 (Broken diagnostic for firstprivate clause)
authorJakub Jelinek <jakub@redhat.com>
Mon, 10 Mar 2008 19:43:16 +0000 (20:43 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 10 Mar 2008 19:43:16 +0000 (20:43 +0100)
commit85b20612e78772cce5700f4e6e5afcef072d4703
tree2bdf8189fe3bf35af3815ca8e41eec34b41f78ca
parent5df27e4a3eceb7ec1a69108e5be6cc918dee846b
re PR c++/35337 (Broken diagnostic for firstprivate clause)

PR c++/35337
* semantics.c (finish_omp_clauses): Use %qD instead of %qE for
DECL_P in not a variable and appears more than once error messages.

* g++.dg/gomp/pr35337.C: New test.

From-SVN: r133086
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr35337.C [new file with mode: 0644]