http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58189
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
Depends on| |44054, 53552
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #1)
> See also PR44054 about re-using the middle-end infrastructure
It is not really middle-end, but yes re-using common infrastructure (instead of
duplicating it) would be nice.
See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53552#c2
This case is slightly harder from PR44054, since the latter only requires that
Fortran diagnostics pass through diagnostics.c but it can go back to Fortran
functions as a fake pretty-printer. In this case, however, the colors are
implemented in the pretty-printer, so Fortran would need to re-implement its
diagnostic printing functions as a pretty printer. Or duplicate the code.