https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555
--- Comment #5 from kugan at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #4) > Actually PR 78387 seems exactly this issue. Please test with a newer > version of gfortran. Thanks Andrew. Looks like this is the issue. So far, current trunk is continuing without error.