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: [patch] 17/n: trans-mem: compiler trans-mem main engine


Make sure that you do need each #include present in this and any other new 
file.  Since 2008 a lot of includes of tm.h and toplev.h have been removed 
and diagnostic-core.h introduced as an alternative to diagnostic.h for 
many users.  If tm.h is needed, it's good to have a comment on the 
#include explaining why (which target macros are used, for example), since 
we'd like to avoid unnecessary tm.h includes.

-- 
Joseph S. Myers
joseph@codesourcery.com


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