Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!jarthur!bridge2!mips!lilian From: lilian@mips.COM (Lilian Leung) Newsgroups: comp.sys.dec Subject: Re: Fortran bug? Keywords: fortran language f77 mod Message-ID: <33028@gumby.mips.COM> Date: 7 Dec 89 04:11:06 GMT References: <7120@pt.cs.cmu.edu> Reply-To: lilian@mips.COM (Lilian Leung) Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 27 In article <7120@pt.cs.cmu.edu> epperly@osnome.che.wisc.edu (Tom Epperly) writes: >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 The above was a bug in our 1.31 FORTRAN compiler, but has since been fixed in our 2.0 release. -- UUCP: {ames,decwrl,prls,pyramid}!mips!lilian (or lilian@mips.com) DDD: 408-991-7848 Lilian Leung (or 408-720-1700, Ext. 848) USPS: MIPS Computer Systems, 930 Arques, Sunnyvale, CA 94086-3650