https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95709
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:006fda1b17a4d55b6548a1b3bd7efd0d8e40b6c4 commit r9-8727-g006fda1b17a4d55b6548a1b3bd7efd0d8e40b6c4 Author: Harald Anlauf <anl...@gmx.de> Date: Mon Jul 6 18:52:39 2020 +0200 PR fortran/95709 - ICE in gfc_resolve_code, at fortran/resolve.c:11807 The legacy "assigned GOTO" accepts only scalar integer variables. Check for proper arguments. gcc/fortran/ PR fortran/95709 * resolve.c (gfc_resolve_code): Check for valid arguments to assigned GOTO. (cherry picked from commit 824084e72e388f81015e7f67922c75f50741355a)