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

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

https://gcc.gnu.org/g:3604d9cab9bb9fe6a3c642385c816211b8f2be5d

commit r13-9048-g3604d9cab9bb9fe6a3c642385c816211b8f2be5d
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Sep 5 21:30:25 2024 +0200

    Fortran: fix ICE in gfc_create_module_variable [PR100273]

    gcc/fortran/ChangeLog:

            PR fortran/100273
            * trans-decl.cc (gfc_create_module_variable): Handle module
            variable also when it is needed for the result specification
            of a contained function.

    gcc/testsuite/ChangeLog:

            PR fortran/100273
            * gfortran.dg/pr100273.f90: New test.

    (cherry picked from commit 1f462b5072a5e82c35921f7e3bdf3959c4a49dc9)

Reply via email to