This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: do not include diagnostic-core.h in toplev.h


Manuel López-Ibáñez wrote:

> Perhaps it would be more robust for the future to have a header for
> each gen* program, so they only include 1 header. This header will
> contain the actual #includes, so it will be far easier to check what
> is included by what. Modifying the headers will not require to modify
> and recompile the gen* programs (plus regenerate and recompile the
> generated file) but just recompile the generated file. What you think?

I don't think that's going to be a big win; it just moves the #includes
around.  In any case, I'm not overly worried about this kind of
fine-grained detail; I think it's much more important to continue the
overall modularization of the compiler.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]