https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121743
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jerry DeLisle <[email protected]>: https://gcc.gnu.org/g:8a3721f43a8f0fa8603d6e13e1db0e09cb175914 commit r15-10952-g8a3721f43a8f0fa8603d6e13e1db0e09cb175914 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]> (cherry picked from commit 89efa006922c80b8e9164cf593e0135df08a56a4)
