From: zapantis@uvphys.phys.uvic.ca (Nik Zapantis)
Subject: Problem with AXP/VMS FORTRAN 6.1?
Date: Tue, 8 Feb 94 17:47:54 GMT [thread overview]
Message-ID: <1994Feb8.174754.22508@sol.UVic.CA> (raw)
One of our users reported that the following example does not work with
AXP/VMS FORTRAN 6.1, but works fine with VAX/VMS FORTRAN 5.8.
C THIS DEMONSTRATES A BUG IN THE USE OF AN INTEGER ARRAY
C WHICH IS USED TO HOLD A FORMAT.
C BY CLINT CUMMINS clint@leland.stanford.edu 2/94
C
INTEGER IFMT(2)
DATA IFMT/4H(F6.,4H3) /
X = 2.1
WRITE(6,IFMT) X
CALL SUB(IFMT,X)
STOP
END
C--------
SUBROUTINE SUB(IFMT,X)
INTEGER IFMT(1)
WRITE(6,IFMT) X
RETURN
END
it produces the following error on an Alpha/VMS 1.5, DEC FORTRAN 6.1 system
2.100
FOR-I-FMTSYN, format syntax error at or near .3)
FOR-F-BUG_CHECK, internal consistency check failure
file $64$DUA81:[DEC$FORRTL.SRC]FOR_LUB_MGT.C;1
line 536
TRACE-F-TRACEBACK, symbolic stack dump follows
Image Name Module Name Routine Name Line Number rel PC abs PC
DEC$FORRTL 0 0004BBCC 0008DBCC
DEC$FORRTL 0 00041FAC 00083FAC
DEC$FORRTL 0 0007E814 000C0814
FMTBUG FMTBUG$MAIN SUB 16 000000EC 000300EC
FMTBUG FMTBUG$MAIN FMTBUG$MAIN 10 00000080 00030080
0 8235A8F0 8235A8F0
Is this a 'bug' or a 'feature' with FORTRAN 6.1?
thanks in advance
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Nik Zapantis | zapantis@uvphys (BITNET) |
| Dept. of Physics & Astronomy | 45393::zapantis(HEPnet/SPAN) |
| University of Victoria | zapantis@uvphys.phys.UVic.CA |
| Victoria, BC | Phone: (604)721-7729 |
| V8W 3P6 | FAX: (604)721-7715 |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
next reply other threads:[~1994-02-08 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-08 17:47 Nik Zapantis [this message]
1994-02-08 22:26 ` Problem with AXP/VMS FORTRAN 6.1? Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox