Phillip Helbig writes:
> > example g77: [taken from the info manual]
> > `-fno-automatic'
> > Treat each program unit as if the `SAVE' statement was specified
> > for every local variable and array referenced in it. Does not
> > affect common blocks. (Some Fortran compilers provide this option
> > under the name `-static'.)
> I'm no g77 user, but I think it is talking about "normal" variables
> (including arrays), not automatic arrays....
I can't speak for g77, but I'd guess that Phillip was correct here.
Note that the standard's description of the SAVE statement uses the
phrase "all allowable items" (in the f77 standard; in f90 it's
"allowed") in describing the meaning of a SAVE statement with an empty
entity list. An automatic array isn't allowable in a SAVE statement.
I suspect that you are seeing nothing except for a slightly incomplete
description in the info manual.
--
Richard Maine
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|