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: Add missing dependency to gcc/c-common.h


"Mark G. Adams" <mark.g.adams@sympatico.ca> writes:

> gcc/c-common.h has an implicit dependency on gcc/tree.h which this patch
> makes explicit.
>
> Bootstrapped and tested on i686-linux with no new regressions.
>
> gcc/ChangeLog:
>
> 2004-05-19 Mark G. Adams  <mark.g.adams@sympatico.ca>
>
> 	* c-common.h: Include tree.h
> 	* Makefile.in: Add dependency on TREE_H to C_COMMON_H

I'm of two minds about this change.  It is correct, in the sense that
c-common.h certainly does make reference to lots of things from
tree.h.  However, I cannot decide whether it is appropriate to be
doing this for tree.h or rtl.h (which are included by almost all GCC
source files anyway).  Also, I am not exactly enthused about
*expanding* the set of files with a direct dependency on tree.h.

zw


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