https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40678
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gs...@t-online.de --- Comment #4 from G. Steinmetz <gs...@t-online.de> --- No ICE with versions configured with --enable-checking=yes or =release. $ cat z1.f90 module m implicit none contains subroutine s logical :: f f = g !() end logical function g() g = .true. end end $ gfortran-9-20181021-chk -c z1.f90