diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2019-11-10 23:25:25 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2019-11-10 23:25:25 +0200 |
commit | 15471d58fe2e8349c391205338176f3fbdaad70c (patch) | |
tree | 3ce322b6f55a8520fd1806acbff3746716cbafcb /gcc/gimplify.c | |
parent | 2806ecbdc8054ef9f3968577806b007baefad4e6 (diff) | |
download | gcc-15471d58fe2e8349c391205338176f3fbdaad70c.zip gcc-15471d58fe2e8349c391205338176f3fbdaad70c.tar.gz gcc-15471d58fe2e8349c391205338176f3fbdaad70c.tar.bz2 |
Don't print warning when moving to static with -fno-automatic
As part of PR 91413, GFortran now prints a warning when a variable is
moved from the stack to static storage. However, when the user
explicitly specifies that all local variables should be put in static
storage with the -fno-automatic option, don't print this warning.
Regtested on x86_64-pc-linux-gnu, committed as obvious.
gcc/fortran/ChangeLog:
2019-11-10 Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/91413
* trans-decl.c (gfc_finish_var_decl): Don't print warning when
-fno-automatic is enabled.
From-SVN: r278027
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions