Hello,
> The testcase is from 459.GemsFDTD, right? dyinv is a regular
> global variable. The issue is the global arrays arr1 and arr2 end
> up pointing to anything even though the Fortran aliasing rules say
> the do not.
Yes, the testcase is from 459.GemsFDTD.
> We are working on this issue.
On Sun, Jul 19, 2009 at 8:18 AM, Revital1 Eres wrote:
>
> Hello,
>
> The following snippet is from a f90 program which contains
> a loop that does not get vectorized.
>
> SUBROUTINE foo1(nx,ny,nz,arr2)
> USE globalvar_mod, ONLY : dyinv, xstart, xstop
>
> k=1
> do j=1,ny
> do i=1,nx
>
> arr1(i,j
Hello,
The following snippet is from a f90 program which contains
a loop that does not get vectorized.
SUBROUTINE foo1(nx,ny,nz,arr2)
USE globalvar_mod, ONLY : dyinv, xstart, xstop
k=1
do j=1,ny
do i=1,nx
arr1(i,j,k) = arr2(i,j,k ) *dyinv
end do
end do
END SUBROUTINE foo1
The vector