https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121728
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #1 from anlauf at gcc dot gnu.org --- Adding 'implicit none' leads to proper rejection of the testcase: pr121728.f90:8:12: 8 | type(t(n)) :: z | 1 Fatal Error: n at (1) has no default type