https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366

--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:51166eb2c534692c3c7779def24f83c8c3811b98

commit r12-3639-g51166eb2c534692c3c7779def24f83c8c3811b98
Author: Harald Anlauf <anl...@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.

Reply via email to