https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84245
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:f8cc39faaa3cfa44efb484a60d2eb7684572b85c commit r14-12481-gf8cc39faaa3cfa44efb484a60d2eb7684572b85c 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)
