https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99853
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:d18e4cc416b832fa98ca8af13b09cf7fe904ba8f commit r12-4802-gd18e4cc416b832fa98ca8af13b09cf7fe904ba8f Author: Steve Kargl <ka...@gcc.gnu.org> Date: Sat Oct 30 18:22:19 2021 +0200 Fortran: generate regular error on invalid conversions of CASE expressions gcc/fortran/ChangeLog: PR fortran/99853 * resolve.c (resolve_select): Generate regular gfc_error on invalid conversions instead of an gfc_internal_error. gcc/testsuite/ChangeLog: PR fortran/99853 * gfortran.dg/pr99853.f90: New test.