The following test code causes FTN95 8.63 to abort with an access violation, with or without /64. The code has IMPLICIT NONE, and is missing a type declaration for the variable NSTATN.
Minor changes to the code cause the compiler to revert to normal behavior, with an error message for the undeclared variable.
subroutine subx(nl, nu, sa33, sb33, v, nomega)
implicit none
real vwe2
integer , intent(in) :: nl, nu, nomega
real , intent(in) :: v
real , intent(in) :: sa33(25,nomega), sb33(25,nomega)
integer :: i !, nstatn
complex :: pitacc
real , dimension(25) :: stemp
!-----------------------------------------------
nstatn = 5 ! variable type not declared
vwe2 = 1.5
pitacc = 1.7
do i = nl, nu
stemp(1:nstatn) = -(sa33(1:nstatn, i)*(1.3-pitacc) + &
3.2-vwe2*sb33(1:nstatn, i) * pitacc+v*sa33(1:nstatn, i)*3.2)
end do
print *,stemp(5)
return
end subroutine subx