aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2021-05-17 21:35:38 +0200
committerHarald Anlauf <anlauf@gmx.de>2021-05-17 21:35:38 +0200
commit09867aa0ef7568012650395189b735f9a34cf9b5 (patch)
treebd15fc740d3c48d17d7cdbaa7d497222858879c0 /gcc/config/sparc
parent346cbaf57828aef190de93271c0eb3f10c9aca61 (diff)
downloadgcc-09867aa0ef7568012650395189b735f9a34cf9b5.zip
gcc-09867aa0ef7568012650395189b735f9a34cf9b5.tar.gz
gcc-09867aa0ef7568012650395189b735f9a34cf9b5.tar.bz2
PR fortran/98411 - Pointless warning for static variables
Variables with explicit SAVE attribute cannot end up on the stack. There is no point in checking whether they should be moved off the stack to static storage. gcc/fortran/ChangeLog: PR fortran/98411 * trans-decl.c (gfc_finish_var_decl): Add check for explicit SAVE attribute. gcc/testsuite/ChangeLog: PR fortran/98411 * gfortran.dg/pr98411.f90: New test.
Diffstat (limited to 'gcc/config/sparc')
0 files changed, 0 insertions, 0 deletions