This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite, committed, PR68063] Add missing private clause in libgomp.c++/member-2.C
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Fri, 23 Oct 2015 12:48:57 +0200
- Subject: [testsuite, committed, PR68063] Add missing private clause in libgomp.c++/member-2.C
- Authentication-results: sourceware.org; auth=none
Hi Jakub,
this patch adds a missing private clause in libgomp.c++/member-2.C (as
you suggested in the PR).
This allows the test to succeed consistently.
Committed to trunk.
Thanks,
- Tom
Add missing private clause in libgomp.c++/member-2.C
2015-10-23 Tom de Vries <tom@codesourcery.com>
PR testsuite/68063
* testsuite/libgomp.c++/member-2.C (A::m1): Add missing private clause.
---
libgomp/testsuite/libgomp.c++/member-2.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgomp/testsuite/libgomp.c++/member-2.C b/libgomp/testsuite/libgomp.c++/member-2.C
index bb348d8..bbe2bdf4 100644
--- a/libgomp/testsuite/libgomp.c++/member-2.C
+++ b/libgomp/testsuite/libgomp.c++/member-2.C
@@ -154,7 +154,7 @@ A<Q>::m1 ()
{
f = false;
#pragma omp single
- #pragma omp taskloop lastprivate (a, T<Q>::t, b, n)
+ #pragma omp taskloop lastprivate (a, T<Q>::t, b, n) private (R::r)
for (int i = 0; i < 30; i++)
{
int q = omp_get_thread_num ();
--
1.9.1