🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #943

Fortran bug?

#943
From: Thomas Epperly
Date: Tue, 28 Nov 1989 16:10
18 lines
948 bytes
The following short fortran program gives a
Fatal error in: /usr/lib/fcom1.31 Segmentation fault
Nice error message!  I really don't know fortran, so I am not sure if this
is a bug in the compiler or not.  Line seven is the line which causes the
compiler to die(the one with the MOD).

	PROGRAM test
	IMPLICIT none
	INTEGER level, igr
	igr = 1
	level = 2
	igr = MOD(level,INT(10.0))
	END

Lastly, I am posting this for one of the users on our system; and I don't know
why he wrote the MOD that way.

Tom Epperly
Technical Details
Message-ID: <7120@pt.cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!edrc.cmu.edu!te07

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!edrc.cmu.edu!te07
From: te07@edrc.cmu.edu (Thomas Epperly)
Newsgroups: comp.sys.dec
Subject: Fortran bug?
Keywords: fortran language f77 mod
Message-ID: <7120@pt.cs.cmu.edu>
Date: 28 Nov 89 16:10:16 GMT
Reply-To: epperly@osnome.che.wisc.edu (Tom Epperly)
Organization: Carnegie-Mellon University, CS/RI
Lines: 18