This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gomp4] Fix syntax error


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]