https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84245
--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:9cefb203c4010b139a69f1575fcdec14075d2731 commit r15-11006-g9cefb203c4010b139a69f1575fcdec14075d2731 Author: Paul Thomas <[email protected]> Date: Sat Mar 28 07:23:01 2026 +0000 Fortran: Avoid rollback ICE after invalid SELECT TYPE [PR84245] 2026-03-28 Paul Thomas <[email protected]> gcc/fortran PR fortran/84245 * match.cc (gfc_match_select_type): Free the temporary namespace only on MATCH_NO. Return immediately on MATCH_ERROR. gcc/testsuite/ChangeLog: * gfortran.dg/pr84245.f90: New test. (cherry picked from commit 48616938660a9fe64824826ab9172a197631476d)
