From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,16515bef268c4fbb X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-01-26 15:16:49 PST Path: gmdzi!unido!mcsun!uunet!aplcen!samsung!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!gumby!lilian From: lilian@mips.COM (Lilian Leung) Newsgroups: comp.sys.dec Subject: Re: Risk Fortran2.0e problems Keywords: Fortran chacter strings Message-ID: <35173@mips.mips.COM> Date: 26 Jan 90 23:16:49 GMT References: <9568@batcomputer.tn.cornell.edu> Sender: news@mips.COM Reply-To: lilian@mips.COM (Lilian Leung) Organization: MIPS Computer Systems, Sunnyvale, CA Posted: Sat Jan 27 00:16:49 1990 In article <9568@batcomputer.tn.cornell.edu> hurf@tcgould.tn.cornell.edu (Hurf Sheldon) writes: > >Thanks to some very fine efforts by Chris Cordrey at DEC we were able to >try a prerelease of the RISC 2.0 fortran compiler and we we able to fix >our earlier problems (so we could find some new ones ?) - what do you think? > >I posted these here as I wasn't sure the nice DEC guys wanted me permanantly >attached to their mailbox and quite a few people from this group seem to >be test sites for this software...(Which I guess we have informally become) > >hurf >This works fine under 3.1 f77 (vax) > >From: timd (Tim Davis) > > would you like to try another test program? > program r > print *,len('length of 12') > call sub('length of 12') > stop > end > subroutine sub (achar) > character*(*) achar > print *,achar > print *,len(achar) > return > end > > the len function, which returns the length of a character string, doesn't > seem to be working on the variable achar in the subroutine. > This was a known problem in releases 1.31 and 2.0 of our FORTRAN compiler. It has since been fixed in our soon-to-come 2.10 compiler. Stay tuned for the release date of this newest version. > thanks -- t. >--end of message >From: riley@tcgould.TN.CORNELL.EDU (Daniel S. Riley) > >Trying to compile anything like > > SUBROUTINE CAPANA > CHARACTER*(*) CRNAME > PARAMETER( CRNAME = 'STRING' ) > RETURN > END > >with > >f77 -g -c capana.f > >results in > >"Fatal error in: /usr/lib/cmplrs/f77/fcom Segmentation fault - core dumped" > >It compiles without the "-g", but I haven't done anything yet to verify >that the code created is ok. We have a lot of subroutines with statements >just like that... > >String concatenation also still has some problems, though not as many as >it used to. This problem is NOT reproducible in our Mips systems. It might just be DEC's problem. Please check with DEC to see if they already know of this. >--end of messages > > >-- > Hurf Sheldon Network: hurf@ionvax.tn.cornell.edu > Lab of Plasma Studies Bitnet: hurf@CRNLION > 369 Upson Hall, Cornell University, Ithaca, N.Y. 14853 ph:607 255 7267 > "And the walls came tumbling down" -- 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