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] Move decl_default_tls_model prototype to output.h, make more #include rtl.h's redundant


Steven Bosscher wrote:

> Is it OK if I consider approval of the middle-end bits
> required but removal of rtl.h and/or expr.h from these front-end files
> as obvious?

Yes.

More generally, removal of header files not in use from any source file
is obvious, not just for you, but for anyone.  Of course, people should
be careful not to think about multiple host/target combinations; <foo.h>
may not be required on a GNU/Linux host, but might be required on a
Solaris host and rtl.h might be needed for an ARM target but not a MIPS
target, or some such.

> gcc/ChangeLog:
> 	* rtl.h (decl_default_tls_model): Move prototype from here...
...

OK.

-- 
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]