Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Craig Burley <burley@tweedledumb.cygnus.com>
Subject: Re: fortran error?
Date: 1998/03/23	[thread overview]
Message-ID: <y6iup5gq72.fsf@tweedledumb.cygnus.com> (raw)
In-Reply-To: y667l58b9x.fsf@tweedledumb.cygnus.com


Craig Burley <burley@tweedledumb.cygnus.com> writes:

> Peter Shenkin <shenkin@still3.chem.columbia.edu> writes:
> 
> > No, of course not.  In many compilers the user can even control whether
> > stack or heap is used at compile time.  I'm just saying that when a
> > stack is used, F77 implementations don't compute stack requirements
> > and compare them at startup with available stack resources even when
> > it would be easy to do so.

I just noticed this -- I've been assuming you meant to say
"...control whether stack or static memory is used at compile time".

F77 code can be trivially compiled to an executable that makes
no use whatsover of the stack *or* heap, and thus does not
grow during run time.  (Of course, the underlying system might
mandate certain uses of stack/heap for things like starting up
the program, calling the OS, etc., but it's unlikely that any
of this would contribute to overflowing the stack or heap when
run as part of a F77 program that is compiled to use neither!)
-- 

"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson    burley@gnu.org



  parent reply	other threads:[~1998-03-23  5:00 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-12  5:00 fortran error? Armin Leuprecht
1998-03-12  5:00 ` robin
1998-03-16  5:00 ` Steve Lionel
1998-03-17  5:00   ` Peter Shenkin
1998-03-17  5:00     ` Craig Burley
1998-03-17  5:00       ` Peter Shenkin
1998-03-18  5:00         ` Toon Moene
1998-03-18  5:00           ` Jeff Drummond
1998-03-19  5:00           ` Peter Shenkin
1998-03-18  5:00         ` Craig Burley
1998-03-19  5:00           ` Peter Shenkin
1998-03-19  5:00             ` Craig Burley
1998-03-20  5:00               ` Peter Shenkin
1998-03-20  5:00                 ` Craig Burley
1998-03-20  5:00                   ` Nick Maclaren
1998-03-20  5:00                     ` Richard Maine
1998-03-20  5:00                   ` Peter Shenkin
1998-03-23  5:00                     ` Craig Burley
1998-03-23  5:00                       ` Summary (I hope) failure of automatic allocation; was, " Peter Shenkin
1998-03-24  5:00                         ` Craig Burley
1998-03-23  5:00                       ` Craig Burley [this message]
1998-03-23  5:00                         ` Peter Shenkin
1998-03-24  5:00                           ` Craig Burley
1998-03-24  5:00                             ` Nick Maclaren
1998-03-20  5:00                 ` Richard Maine
1998-03-20  5:00               ` Nick Maclaren
1998-03-20  5:00             ` Dick Hendrickson
1998-03-20  5:00               ` Craig Burley
1998-03-20  5:00                 ` Peter Shenkin
1998-03-23  5:00                   ` Craig Burley
1998-03-20  5:00               ` Peter Shenkin
1998-03-18  5:00     ` Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox