https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613
--- Comment #22 from David Malcolm <dmalcolm at gcc dot gnu.org> --- (In reply to David Malcolm from comment #18) [...snip...] > > I have work-in-progress patches that implement this as a new > -fdiagnostics-add-output= > option, but they're not yet ready to push upstream (currently they break > some targets, plus the Fortran, and Modula 2 frontends). I still hope to > get them ready for GCC 15 feature freeze. FWIW, I've posted a partial patch for the target-breakage and Modula 2 issue here: "[RFC/PATCH] Use unique_ptr in more places in pretty_printer/diagnostics [PR116613]" https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665443.html I don't yet have a fix for the Fortran issue; hope to tackle that next.