[Bug fortran/102366] [10/11/12 Regression] large arrays no longer become static
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 21 18:47:29 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366
--- Comment #17 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:d3db5b1d23cbe4e4569e688a6dbc8b5b2c38588e
commit r10-10140-gd3db5b1d23cbe4e4569e688a6dbc8b5b2c38588e
Author: Harald Anlauf <anlauf@gmx.de>
Date: Fri Sep 17 21:45:33 2021 +0200
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.
(cherry picked from commit 51166eb2c534692c3c7779def24f83c8c3811b98)
More information about the Gcc-bugs
mailing list