[Patch, Fortran] invoke.texi: Be more verbose for -fno-automatic and -fmax-stack-var-size=<n>

Craig Powers enigma@hal-pc.org
Fri Aug 17 06:55:00 GMT 2007


Tobias Burnus wrote:
> Index: gcc/fortran/invoke.texi
> ===================================================================
> --- gcc/fortran/invoke.texi	(Revision 127532)
> +++ gcc/fortran/invoke.texi	(Arbeitskopie)
> @@ -710,10 +710,12 @@
>  @opindex @code{fno-automatic}
>  @cindex @code{SAVE} statement
>  @cindex statement, @code{SAVE}
> -Treat each program unit as if the @code{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
> -@option{-static}.)
> +Treat each program unit (except those marked as RECURSIVE) as if the
> +@code{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 @option{-static} or @option{-save}.)
> +The default is @option{-fautomatic} which uses the stack for local
> +variables smaller than the value given by @option{-fmax-stack-var-size}.

I believe "as if the ... statment was" should be "as if the ... 
statement were" (the rarely-distinguishable-in-English subjunctive mood).



More information about the Fortran mailing list