https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86277
--- Comment #16 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to anlauf from comment #13) > (In reply to Mikael Morin from comment #12) > > (In reply to anlauf from comment #8) > > > Enabling derived types does not work when they occur in an array > > > constructor, > > > and the code would ICE on empty constructors of derived type. > > > > > > > Looking at the code, I couldn't foresee where the ICE would happen, so I > > tried it myself. > > I see no ICE here. > > I got an ICE with pointer_check_14.f90 and realloc_on_assign_18.f90 > which have an empty DT with no component. > They work here. I must be doing something stupidly wrong. My compiler is a bit outdated, but not that much: GNU Fortran (GCC) 14.0.0 20230529 (experimental)