https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121728
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #2)
> (In reply to anlauf from comment #1)
> > 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
>
> ... but only if *not* running under valgrind (where the issue persists).
The issue has been resolved, very likely by r16-3589-g86353186dc2e47.
Closing.