* Problem with AXP/VMS FORTRAN 6.1?
@ 1994-02-08 17:47 Nik Zapantis
1994-02-08 22:26 ` Steve Lionel
0 siblings, 1 reply; 2+ messages in thread
From: Nik Zapantis @ 1994-02-08 17:47 UTC (permalink / 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 |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with AXP/VMS FORTRAN 6.1?
1994-02-08 17:47 Problem with AXP/VMS FORTRAN 6.1? Nik Zapantis
@ 1994-02-08 22:26 ` Steve Lionel
0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1994-02-08 22:26 UTC (permalink / raw)
In article <1994Feb8.174754.22508@sol.UVic.CA>, zapantis@uvphys.phys.uvic.ca
(Nik Zapantis) writes:
|>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.
[Program omitted]
|>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
||>
|>Is this a 'bug' or a 'feature' with FORTRAN 6.1?
The "BUG_CHECK" is ALWAYS a bug. Please report it through your
appropriate Digital software support channels so that you can get a
corrected kit when it is available (I think this is one we've already
caught and fixed).
--
Steve Lionel lionel@quark.enet.dec.com or
SDT Languages Group lionel@quark.zko.dec.com
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-02-08 22:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-08 17:47 Problem with AXP/VMS FORTRAN 6.1? Nik Zapantis
1994-02-08 22:26 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox