[comp.sys.dec] Risk Fortran2.0e problems

hurf@batcomputer.tn.cornell.edu (Hurf Sheldon) (01/19/90)

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"