https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423
--- Comment #6 from anlauf at gcc dot gnu.org --- Created attachment 60435 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60435&action=edit Patch This patch diagnoses the rank mismatch as well as the vector subscripts, and is currently regtesting. Requires adjustment of: gfortran.dg/derived_constructor_comps_2.f90