https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357
--- Comment #6 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #4) > program testerprog > use testmod > Type(A) :: Me > allocate(Me%y) > Me = A(X=1, y=2) > print *, Me%y > > end program > > gives > > Program received signal SIGSEGV: Segmentation fault - invalid memory > reference. Confirmed. However, this segfault is not related to the original bug (nor to the patch I posted). It's a separate issue.