Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Risk Fortran2.0e problems
@ 1990-01-18 18:33 Hurf Sheldon
  1990-01-26 23:16 ` Lilian Leung
  0 siblings, 1 reply; 2+ messages in thread
From: Hurf Sheldon @ 1990-01-18 18:33 UTC (permalink / raw)



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.

  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.
--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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1990-01-26 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-01-18 18:33 Risk Fortran2.0e problems Hurf Sheldon
1990-01-26 23:16 ` Lilian Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox