🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1032

Risk Fortran2.0e problems

#1032
From: Hurf Sheldon
Date: Thu, 18 Jan 1990 18:33
64 lines
2316 bytes
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"
Technical Details
Message-ID: <9568@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!hurf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!hurf
From: hurf@batcomputer.tn.cornell.edu (Hurf Sheldon)
Newsgroups: comp.sys.dec
Subject: Risk Fortran2.0e problems
Keywords: Fortran chacter strings
Message-ID: <9568@batcomputer.tn.cornell.edu>
Date: 18 Jan 90 18:33:55 GMT
Reply-To: hurf@tcgould.tn.cornell.edu (Hurf Sheldon)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 64