https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96102
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:359815ad136ee6ad142fb54470ce79609e43ff5d commit r11-2624-g359815ad136ee6ad142fb54470ce79609e43ff5d Author: Paul Thomas <pa...@gcc.gnu.org> Date: Mon Aug 10 06:19:25 2020 +0100 This patch fixes PR96102. See the explanatory comment in the testcase. 2020-08-10 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/96102 * resolve.c (check_host_association): Replace the gcc_assert with an error for internal procedures. gcc/testsuite/ PR fortran/96102 * gfortran.dg/pr96102.f90: New test.