Message ID | 87380s1dbn.fsf@kepler.schwinge.homeip.net |
---|---|
State | New |
Headers | show |
diff --git libgomp/ChangeLog.gomp libgomp/ChangeLog.gomp index fd7887a..7d1e9ad 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,5 +1,7 @@ 2015-07-13 Thomas Schwinge <thomas@codesourcery.com> + * testsuite/libgomp.oacc-c++/declare-1.C (foo): Initialize a. + * testsuite/libgomp.oacc-c-c++-common/private-vars-loop-gang-5.c: Add XFAIL. diff --git libgomp/testsuite/libgomp.oacc-c++/declare-1.C libgomp/testsuite/libgomp.oacc-c++/declare-1.C index 268809b..6618b10 100644 --- libgomp/testsuite/libgomp.oacc-c++/declare-1.C +++ libgomp/testsuite/libgomp.oacc-c++/declare-1.C @@ -2,7 +2,7 @@ template<class T> T foo() { - T a; + T a = 0; #pragma acc declare create (a) #pragma acc parallel