home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8187 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.4 KB  |  45 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.iastate.edu!john
  3. From: john@iastate.edu (John Hascall)
  4. Subject: Re: Does the current release of DEC Fortran for RISC fix this?
  5. Message-ID: <BxGy4J.6Kv@news.iastate.edu>
  6. Keywords: F77 fortran risc
  7. Sender: news@news.iastate.edu (USENET News System)
  8. Organization: Iowa State University, Ames, IA
  9. References: <BxGvqs.2Fx@mentor.cc.purdue.edu>
  10. Date: Mon, 9 Nov 1992 21:53:06 GMT
  11. Lines: 32
  12.  
  13. mckay@gimli.bio.purdue.edu (Dwight McKay) writes:
  14. }The following program is not compilable under DEC Fortran for RISC version 3.0.
  15. }It compiles and runs just fine under every other version of Fortran I had
  16. }available to test (VMS fortran, Sun fortran).
  17. }
  18. }Does anyone know if this program can be compiled under a more recent version
  19. }of DEC Fortran?
  20.  
  21. It would appears so (our compiler claims to be: "DEC Fortran X3.2-226"):
  22.  
  23. pooh.cc> cat >buggy.f
  24.       Parameter(N=3)
  25.       Real C(N)
  26.       Call B(C,N)
  27.       Stop
  28.       End
  29.       Subroutine A(D)
  30.       Real C(N)
  31.       Entry B(C,N)
  32.       Write(6,*)' Hi there'
  33.       Return
  34.       End
  35. pooh.cc> f77 buggy.f -o buggy
  36. pooh.cc> ./buggy
  37.   Hi there
  38.  
  39. John
  40. -- 
  41. John Hascall                   ``An ill-chosen word is the fool's messenger.''
  42. Systems Software Engineer
  43. Project Vincent
  44. Iowa State University Computation Center  +  Ames, IA  50011  +  515/294-9551
  45.