Usually I perform FTN95 compilation with the option /check and without /opt. Everything went fine. No, for better performance, I applied /opt without /check. As a consequence some of my files can no longer be compiled. I could reduce the code for one of my files to a rather small code example:
Subroutine Thomas ()
Implicit None
Type Zeile1
Character (len= 2) :: cnrz
Character (len=12) :: cbez
Character (len= 8) :: chhz
Character (len= 1) :: cvwo(8)
End Type Zeile1
Integer, Parameter :: WTP_mx_fzz = 18
Character (len=1500) :: VAR
Type (Zeile1) :: frz(WTP_mx_fzz)
Integer :: i, j
1001 FORMAT (18(A2,A12,A8,8A1))
var = ' '
read (var, 1001) (frz(i)%cnrz, &
frz(i)%cbez, &
frz(i)%chhz, &
(frz(i)%cvwo(j),j=1,8),i=1,18)
end
Who can check, what is going wrong? Who made similar experiences?