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: Final intermodule patch


On Sun, 2003-07-13 at 15:07, Joseph S. Myers wrote:
> On Sun, 13 Jul 2003, Mark Mitchell wrote:
> 
> > Various kinds of system-specific trickery akin to this situation will
> > not work with multiple translation unit compilation, which is probably
> > OK since they are not valid C in any case.  However, there should
> > probably be documentation to explain this fact to people.)
> 
> The documentation could actually recommend the use of intermodule mode as
> a check for this sort of error, even if the code isn't the sort of code
> for which the extra optimisation could possibly be of use.  More generally
> this feature potentially facilitates new warnings through whole-program
> analysis (whether in GCC, or external extensions analysing programs for
> particular defects).

Indeed.  

That's among the many reasons why having this infrastructure is so cool.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


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