https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78659
--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to janus from comment #8) The case that ICEs needs to have an error check in io.c (gfc_resolve_dt). I have found the location and now need to build the error check.