Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end From: glen herrmannsfeldt Newsgroups: comp.compilers Subject: Re: Fortran calls, was PL/I code Date: Sun, 6 May 2012 05:13:44 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-05-006@comp.compilers> References: <12-04-070@comp.compilers> <12-04-077@comp.compilers> <12-04-081@comp.compilers> <12-04-082@comp.compilers> <12-04-084@comp.compilers> <12-04-085@comp.compilers> <12-05-004@comp.compilers> <12-05-005@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1336325032 89627 64.57.183.58 (6 May 2012 17:23:52 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Sun, 6 May 2012 17:23:52 +0000 (UTC) Keywords: Fortran, history Posted-Date: 06 May 2012 13:23:52 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:635 (snip, I wrote) > For the PDP-10/TOPS-10 Fortran, return addresses went on the stack, > but local variables were still static, as usual for Fortran IV. > [That must be the new PDP-10 compiler. The old compiler, which looked > a whole lot like OS/360 Fortran G, used JSA/JRA for subroutine calls, > which saved the return address register in the first word of the > subroutine. -John] I remembered the PDP-8 using the "store the return address in the first word" method, but, yes, there was an earlier PDP-10 compiler. The one I used was, I believe, called Fortran-10 and the older one Fortran-40. (I am less sure about the latter, as I don't remember ever using it.) I did write some Fortran callable Macro-10 programs. -- glen [Yup, that's the one I used. -John]