https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92976
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Thomas Kथघnig <tkoe...@gcc.gnu.org>: https://gcc.gnu.org/g:7beafc829c5b122298093ba517023015611aeca8 commit r9-8340-g7beafc829c5b122298093ba517023015611aeca8 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Thu Mar 5 11:01:59 2020 +0100 Fix ICE in trans_associate_var 2020-03-05 Paul Thomas <pa...@gcc.gnu.org> Backport from trunk PR fortran/92976 * match.c (select_type_set_tmp): Variable 'selector' to replace select_type_stack->selector. If the selector array spec has explicit bounds, make the temporary's bounds deferred. 2020-03-05 Paul Thomas <pa...@gcc.gnu.org> Backport from trunk PR fortran/92976 * gfortran.dg/select_type_48.f90 : New test.