This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4] Fix syntax error
- From: James Norris <jnorris at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: Thomas Schwinge <Thomas_Schwinge at mentor dot com>
- Date: Wed, 1 Jul 2015 14:41:52 -0500
- Subject: [gomp4] Fix syntax error
- Authentication-results: sourceware.org; auth=none
Hi,
The attached patch fixes a syntax error in one of
the OpenACC runtime tests.
Committed to gomp-4_0-branch
Jim
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/if-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/if-1.f90
index 3ea9681..1729a3b 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/if-1.f90
+++ b/libgomp/testsuite/libgomp.oacc-fortran/if-1.f90
@@ -410,7 +410,7 @@ program main
if (acc_is_present (b) .eqv. .TRUE.) call abort
#endif
- !$pragma acc enter data copyin (b(1:N)) if (zero == 1)
+ !$acc enter data copyin (b(1:N)) if (zero == 1)
#if !ACC_MEM_SHARED
if (acc_is_present (b) .eqv. .TRUE.) call abort