https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118336
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- The Ada frontend manages to list a set of dependent files - maybe the fortran frontend can record which module files it opened and can list them in their ICE handler (I'm not sure such a thing exists ... but it could be added I suppose)