https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- I think this is a high-priority bug that we should try to fix before the GCC 9 release. Some discussion here: https://gcc.gnu.org/ml/fortran/2019-03/msg00124.html Jeremy, you mentioned that you commented out a loop in finalize_component. Could you put a patch here to see exactly what you did?