From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,58c62c921407ccd4,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1989-11-28 08:10:16 PST 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 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