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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:89efa006922c80b8e9164cf593e0135df08a56a4

commit r16-8060-g89efa006922c80b8e9164cf593e0135df08a56a4
Author: Jerry DeLisle <[email protected]>
Date:   Thu Mar 12 10:23:47 2026 -0700

    Fortran: [PR121743] ICE in build_function_decl.

            PR fortran/121743

    gcc/fortran/ChangeLog:

            * trans-decl.cc (build_function_decl): Adjust the
            gcc_assert condition to avoid the ICE.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr121743.f90: New test.

    Co-Authored-By: Gilles Gouaillardet <[email protected]>

Reply via email to