diff options
author | Harald Anlauf <anlauf@gmx.de> | 2021-09-17 21:45:33 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2021-09-17 21:46:32 +0200 |
commit | 51166eb2c534692c3c7779def24f83c8c3811b98 (patch) | |
tree | 2b0f52729af3c7cc57e6dc6908263964c1cedca4 /gcc/cp/parser.c | |
parent | 42eff613d0c10f88dc7a44b14981876401a09981 (diff) | |
download | gcc-51166eb2c534692c3c7779def24f83c8c3811b98.zip gcc-51166eb2c534692c3c7779def24f83c8c3811b98.tar.gz gcc-51166eb2c534692c3c7779def24f83c8c3811b98.tar.bz2 |
Fortran - (large) arrays in the main shall be static
gcc/fortran/ChangeLog:
PR fortran/102366
* trans-decl.c (gfc_finish_var_decl): Disable the warning message
for variables moved from stack to static storange if they are
declared in the main, but allow the move to happen.
gcc/testsuite/ChangeLog:
PR fortran/102366
* gfortran.dg/pr102366.f90: New test.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions