https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84245
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:48616938660a9fe64824826ab9172a197631476d commit r16-8319-g48616938660a9fe64824826ab9172a197631476d 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.
