[Bug fortran/84245] [13/14/15/16 Regression] ICE in delete_root, at fortran/bbt.c:150
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 28 07:23:19 GMT 2026
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 <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:48616938660a9fe64824826ab9172a197631476d
commit r16-8319-g48616938660a9fe64824826ab9172a197631476d
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Sat Mar 28 07:23:01 2026 +0000
Fortran: Avoid rollback ICE after invalid SELECT TYPE [PR84245]
2026-03-28 Paul Thomas <pault@gcc.gnu.org>
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.
More information about the Gcc-bugs
mailing list