Path: 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 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