From: SMTP%"lionel@quark.enet.dec.com" 13-MAY-1993 10:54:33.11 To: EVERHART CC: Subj: Re: >fortran 6.0 X-Newsgroups: comp.os.vms Subject: Re: >fortran 6.0 Message-ID: <1993May11.171707.2695@dbased.nuo.dec.com> From: lionel@quark.enet.dec.com (Steve Lionel) Date: Tue, 11 May 1993 17:17:07 GMT Reply-To: lionel@quark.enet.dec.com (Steve Lionel) Sender: news@dbased.nuo.dec.com (USENET News System) Distribution: comp.os.vms Organization: Digital Equipment Corporation, Nashua NH Keywords: fortran 6.0 search Lines: 42 To: Info-VAX@KL.SRI.COM X-Gateway-Source-Info: USENET In article , andrea@pX1.stfx.ca (John Andrea) writes: |> |>Re: the discussion of Fortran 6.0 |> |>Has anyone developed a tools, or a useful method for finding images |>which were linked before vms 5 and will cause a problem with fortran 6 ? |> The issue is images linked before VMS V4.0, not V5.0. The key is that the image is linked against VMSRTL.EXE. ANALYZE/IMAGE will tell you this, or you could just do: $ SEARCH/WINDOW=0 *.EXE VMSRTL Alternatively, you could install the FORTECO01060 version that is available from the Digital support centers and not worry about it. Also on the subject of Fortran V6.0, a number of users have found that their programs which call Fortran routines with omitted arguments, using some sort of home-grown method of "checking" to see if the argument was passed, do not work with DEC Fortran V6. This is due to a new optimization in which local copies of read-only formal arguments can be made by the compiled code. It was always unsupported to omit arguments when calling Fortran routines and this was explicitly documented as invalid in the Language Reference Manual, but people did it anyway. If your application does this, you must compile with the new /ASSUME=DUMMY_ALIASES compile command qualifier in order to disable the optimization and restore the pre-V6 behavior (at least in this regard). Note that character and adjustable array arguments never have been able to be omitted. This qualifier can also be specified in the source in an OPTIONS statement. I'll be adding a release note on this subject. -- Steve Lionel lionel@quark.enet.dec.com SDT Languages Group Digital Equipment Corporation 110 Spit Brook Road Nashua, NH 03062