http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |janus at gcc dot gnu.org Summary|ICE with warnings and |[OOP] ICE when calling |unlimited polymorphic |SIZEOF on an unlimited | |polymorphic variable --- Comment #5 from janus at gcc dot gnu.org --- The ICE on comment 1 seems to be due to the SIZEOF call. Reduced test case: subroutine add_element_poly(e) class(*) :: e print *, sizeof(e) end subroutine Fails with 4.8 and current trunk.