https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96013
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz <gs...@t-online.de> --- This variant (also legal) compiles : $ cat zz3.f90 module m type t character, allocatable :: a end type contains function f() result(t) character(3) :: c c = 'abc' t = 1.0 end end $ gfortran-11-20200628 -c zz3.f90 $