diff options
author | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-01-19 22:45:43 +0100 |
---|---|---|
committer | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-01-19 22:45:43 +0100 |
commit | b4e17cadd5ba54fadb2986496025f8d96475dc32 (patch) | |
tree | 675a16ff081d665f7c253173bd95cb3ef392aa58 /gcc/fortran/invoke.texi | |
parent | 5131b898e57d363420c0af03a4edd052b5c3fa05 (diff) | |
download | gcc-b4e17cadd5ba54fadb2986496025f8d96475dc32.zip gcc-b4e17cadd5ba54fadb2986496025f8d96475dc32.tar.gz gcc-b4e17cadd5ba54fadb2986496025f8d96475dc32.tar.bz2 |
[multiple changes]
2019-01-19 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/37835
* resolve.c (resolve_types): Add !flag_automatic.
* symbol.c (gfc_add_save): Silence warnings.
2019-01-18 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/37835
* gfortran.dg/no-automatic.f90: New test.
From-SVN: r268098
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r-- | gcc/fortran/invoke.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 668e8d9..dc7c037 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1377,6 +1377,9 @@ The default, which is @option{-fautomatic}, uses the stack for local variables smaller than the value given by @option{-fmax-stack-var-size}. Use the option @option{-frecursive} to use no static memory. +Local variables or arrays having an explicit @code{SAVE} attribute are +silently ignored unless the @option{-pedantic} option is added. + @item -ff2c @opindex ff2c @cindex calling convention |