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

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

https://gcc.gnu.org/g:4eba6812c5652005e0e9dc62358a6fb3bda193e6

commit r11-10516-g4eba6812c5652005e0e9dc62358a6fb3bda193e6
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Feb 6 20:59:51 2023 +0100

    Fortran: ASSOCIATE variables should not be TREE_STATIC [PR95107]

    gcc/fortran/ChangeLog:

            PR fortran/95107
            * trans-decl.c (gfc_finish_var_decl): With -fno-automatic, do not
            make ASSOCIATE variables TREE_STATIC.

    gcc/testsuite/ChangeLog:

            PR fortran/95107
            * gfortran.dg/save_7.f90: New test.

    (cherry picked from commit c36f3da534e7f411c5bc48c5b6b660e238167480)

Reply via email to