summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-23 10:45:13 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-23 10:45:13 +0000
commiteae24905eccc0bdf7164228a8ce94f4bcd0bfa3e (patch)
tree9568ebbc60322d8bae6bfcaeb95ea94843983c83
parent953b82d7245270e051c4fd63864726ba4e68f5b0 (diff)
downloadgcc-eae24905eccc0bdf7164228a8ce94f4bcd0bfa3e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229229 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/libgomp.c++/member-2.C2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 0cb1e6161dd..658c47b0c13 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-23 Tom de Vries <tom@codesourcery.com>
+
+ PR testsuite/68063
+ * testsuite/libgomp.c++/member-2.C (A::m1): Add missing private clause.
+
2015-10-20 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane
diff --git a/libgomp/testsuite/libgomp.c++/member-2.C b/libgomp/testsuite/libgomp.c++/member-2.C
index bb348d8a822..bbe2bdf4d41 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 ();