🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #260

MS Fortran bug

#260
From: Duncan Murdoch
Date: Sun, 19 Nov 1989 15:31
30 lines
1245 bytes
The following little program crashes an XT clone with an 8086/8087.  The crash
seems to occur in the start-up code where the run-time library is trying to 
determine the coprocessor type, and goes away if I single-step or if I
link in more library routines by referencing something like the NAG random
number generator.  Can anyone suggest any fix for this?


      external Eval, Cube
      real*8 Cube,x
      x = 1.0
      x = Cube(x)
      stop
      end
c
      subroutine Eval(Fn,N,X,Value)
      real*8   Fn
      integer  N
      real*8   X(N),Value
      Value = Fn(N,X)
      return
      end
c
      real*8 function Cube(X)
      real*8 X
      Cube = X**3
      return
      end
     
Duncan Murdoch
Technical Details
Message-ID: <863@maytag.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!aplcen!samsung!usc!rutgers!att!watmath!maytag!watstat!dmurdoch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!aplcen!samsung!usc!rutgers!att!watmath!maytag!watstat!dmurdoch
From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc,comp.lang.fortran
Subject: MS Fortran bug
Summary: A simple program won't run!  Help!
Message-ID: <863@maytag.waterloo.edu>
Date: 19 Nov 89 15:31:55 GMT
Sender: daemon@maytag.waterloo.edu
Reply-To: dmurdoch@watstat.waterloo.edu (Duncan Murdoch)
Organization: U. of Waterloo, Ontario
Lines: 30