This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: add %J for diagnostics
Richard Henderson <rth@twiddle.net> writes:
| On Sun, Sep 21, 2003 at 11:03:27AM +0200, Gabriel Dos Reis wrote:
| > I've spent some effort into making diagnostic.c independent of "tree"
| > stuffs so as to make it usable by other parts of the compiler that do
| > have any business in trees.
|
| Why?
I think components like cpplib cannot use the current diagnostic
machinery (to build a standalone program) if we have "tree" bits
around.
gen* also are such candidates -- they are currently reimplementing the
diagnostic machinery without reference to trees.
-- Gaby