🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #815

Re: Re: NOT Educating FORTRAN programmers to use C

#815
From: Marc Sabatella
Date: Fri, 19 Jan 1990 17:29
17 lines
1150 bytes
>Show me the optimizer that makes these assumptions, and I'll show you one that
>breaks the code of every customer we have, and I am not sure I believe it, in
>any case.  Do you mean it is even illegal to pass the same argument in two
>different positions of a formal parameter list?  For instance:
>
>subroutine foo (x, y)
>
>...
>
>call foo (a, a)

Before the whole world jumps on my case, I now know this *is* illegal.
That's what I get for deciding what legal Fortran is based on only a textbook
and code our customers have ported from the Vax :-(
It apparently is a big enough concern that we had to provide an option to
turn off assumptions about no aliasing, and many of customers find themselves
forced to use it.
Technical Details
Message-ID: <8960005@hpfcso.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!mjs
References: <15623@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!mjs
From: mjs@hpfcso.HP.COM (Marc Sabatella)
Newsgroups: comp.lang.misc
Subject: Re: Re: NOT Educating FORTRAN programmers to use C
Message-ID: <8960005@hpfcso.HP.COM>
Date: 19 Jan 90 17:29:55 GMT
References: <15623@haddock.ima.isc.com>
Organization: Hewlett-Packard, Fort Collins, CO, USA
Lines: 17