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

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

https://gcc.gnu.org/g:cf8f6aa2a0e4378cec0f9bdbde8cd9a2ea3fb3e5

commit r14-10695-gcf8f6aa2a0e4378cec0f9bdbde8cd9a2ea3fb3e5
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