]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgomp/
authorcesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2016 21:24:03 +0000 (21:24 +0000)
committercesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2016 21:24:03 +0000 (21:24 +0000)
* testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Don't
pass parameter variables to subroutines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234992 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/non-scalar-data.f90

index 89ee866ac4c7f1ae07df0b79c64f3bd67514979a..1c82e5de1ef5b78d20bb3a57e6ec5e265a0cd440 100644 (file)
@@ -1,3 +1,8 @@
+2016-04-14  Cesar Philippidis  <cesar@codesourcery.com>
+
+       * testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Don't
+       pass parameter variables to subroutines.
+
 2016-04-14  Cesar Philippidis  <cesar@codesourcery.com>
 
        PR middle-end/70643
index 4afb562e00cdb664104b8583a8dbf88b4e0058a8..94e4228e7a974bbe8dcd09320167025ac8344527 100644 (file)
@@ -6,9 +6,11 @@
 program main
   implicit none
 
-  integer, parameter :: n = 100
-  integer :: array(n), i
-  
+  integer,parameter :: size = 100
+  integer :: array(size), i, n
+
+  n = size
+
   !$acc data copy(array)
   call kernels(array, n)