From: lilian@mips.COM (Lilian Leung)
Subject: Re: Risk Fortran2.0e problems
Date: 26 Jan 90 23:16:49 GMT [thread overview]
Message-ID: <35173@mips.mips.COM> (raw)
In-Reply-To: 9568@batcomputer.tn.cornell.edu
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
prev parent reply other threads:[~1990-01-26 23:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-01-18 18:33 Risk Fortran2.0e problems Hurf Sheldon
1990-01-26 23:16 ` Lilian Leung [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox