Re: completely static runtime environment
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 00:22:17 +0000 (UTC)
raghavan.viswanathan@xxxxxxxxx wrote:
The compiler books talk of FORTRAN77 compilers using a completely
static environment in which activation records, global variables etc
are all allocated from static memory.
It was common for Fortran 66 compilers to use static data
areas. On machines with a call stack many used the stack for
calling subprograms, such that it wasn't completely static.
OS/360 Fortran compilers used static memory for data,
argument lists, and for storing the return address.
Most DEC Fortran 66 compilers, such as RT-11 and TOPS-10
(I am not sure about the VAX/VMS compilers) used static data
but used the stack for subprogram arguments and return addresses.
I would look at the older Microsoft Fortran compilers,
from the early DOS days.
Otherwise, if you put a SAVE statement in, all local
variables should be static.
-- glen
.
- References:
- completely static runtime environment
- From: raghavan . viswanathan
- completely static runtime environment
- Prev by Date: Re: make i:j equivalent to [(k,k=i,j)]?
- Next by Date: Re: io-unit has been opened
- Previous by thread: completely static runtime environment
- Next by thread: Bus error/ segmentation fault--help?
- Index(es):
Relevant Pages
|