🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #236

Re: more Fortran, Comment delimiters

#236
From: John Levine
Date: Tue, 20 Oct 2026 03:50
19 lines
2105 bytes
According to Thomas Koenig  <tkoenig@netcologne.de>:
>> DEC F77 used a stack and allowed recursion if you were careful
>> whereas IBM F77 did not (it used static allocation for all local
>> variables so recursion stomped on their values).
>
>OS/360 calling conventions is one thing they got wrong.

My PDP-11 Unix F77 used the C compiler's back end, so recursion
worked fine.  I made variables automatic (stack) unless you used
a SAVE statement, which made sense in the PDP-11's limited address space.

It is quite possible to do recursion with the OS/360 calling convention.
Their PL/I compilers did it and I believe the various ALGOL compilers,
which had to support recursion, also used the standard calling sequence.

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Technical Details
Message-ID: <11b6odq$5g5$1@gal.iecc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
References: <1791742457-5857@newsgrouper.org> <11b02fd$9e1u$1@dont-email.me> <465BS.66342$ACx3.13820@fx15.iad> <11b5mdi$2a843$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: more Fortran, Comment delimiters
Date: Tue, 20 Oct 2026 03:50:19 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <11b6odq$5g5$1@gal.iecc.com>
References: <1791742457-5857@newsgrouper.org> <11b02fd$9e1u$1@dont-email.me> <465BS.66342$ACx3.13820@fx15.iad> <11b5mdi$2a843$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Oct 2026 03:50:19 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="5637"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <1791742457-5857@newsgrouper.org> <11b02fd$9e1u$1@dont-email.me> <465BS.66342$ACx3.13820@fx15.iad> <11b5mdi$2a843$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)