URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr47574.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! PR 47574 - this used to ICE.SUBROUTINE EXCH2_UV_AGRID_3D_RL( uPhi, vPhi, myNz )IMPLICIT NONEINTEGER, parameter :: sNx=32, sNy=32, OLx=4, OLy=4INTEGER myNzReal(8) uPhi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNz,3,1)REAL(8) vPhi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNz,3,1)INTEGER i,j,k,bi,bjREAL(8) uLoc(1-OLx:sNx+OLx,1-OLy:sNy+OLy)REAL(8) vLoc(1-OLx:sNx+OLx,1-OLy:sNy+OLy)REAL(8) negOnenegOne = 1.DO k = 1,myNzDO j = 1-OLy,sNy+OLyDO i = 1-OLx,sNx+OLxuLoc(i,j) = uPhi(i,j,k,bi,bj)vLoc(i,j) = vPhi(i,j,k,bi,bj)ENDDOENDDODO j = 1-OLy,sNy+OLyDO i = 1,OLxuPhi(1-i,j,k,bi,bj) = vLoc(1-i,j)vPhi(1-i,j,k,bi,bj) = uLoc(1-i,j)*negOneENDDOENDDOENDDOEND
