Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!necntc!culdev1!drw
From: drw@culdev1.UUCP (Dale Worley)
Newsgroups: comp.lang.misc
Subject: call by address (was Re: compilers and linkers)
Message-ID: <1794@culdev1.UUCP>
Date: Mon, 30-Nov-87 15:26:12 EST
Article-I.D.: culdev1.1794
Posted: Mon Nov 30 15:26:12 1987
Date-Received: Thu, 3-Dec-87 05:53:59 EST
Organization: Cullinet Software, Westwood, MA, USA
Lines: 25

phil@osiris.UUCP (Philip Kos) writes:
| In article <1783@culdev1.UUCP>, drw@culdev1.UUCP (Dale Worley) writes:
| > The [FORTRAN II] language manual pointed out that using constants for
| > arguments that were assigned to was invalid.  They wised up when they
| > wrote Fortran IV.
| 
| Dale, who are "they"?  Anyway, this is an *implementation* bug, not a
| design bug.

No, it's a design bug, since actually using the construction was
forbidden in FORTRAN II, the compiler wasn't required to handle it in
any decent way.

| The RT-11 FORTRAN IV compiler I used on LSI-11 systems as recently as
| 1982 (RT-11 v4? I'm not sure) still had this bug; I know, I tested it
| myself to see.  :-)

If the compiler claims to be FORTRAN *IV*, then it's an implementation
bug.

Dale
-- 
Dale Worley    Cullinet Software      ARPA: culdev1!drw@eddie.mit.edu
UUCP: ...!seismo!harvard!mit-eddie!culdev1!drw
If you get fed twice a day, how bad can life be?