This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing dependency to gcc/c-common.h
- From: "Mark G. Adams" <mark dot g dot adams at sympatico dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 May 2004 14:15:33 -0400
- Subject: Add missing dependency to gcc/c-common.h
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
Index: gcc/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1278
diff -c -3 -p -r1.1278 Makefile.in
*** gcc/Makefile.in 18 May 2004 17:32:52 -0000 1.1278
--- gcc/Makefile.in 19 May 2004 04:37:03 -0000
*************** GCC_H = gcc.h version.h
*** 696,702 ****
GGC_H = ggc.h gtype-desc.h
TIMEVAR_H = timevar.h timevar.def
INSN_ATTR_H = insn-attr.h $(srcdir)/insn-addr.h $(srcdir)/varray.h
! C_COMMON_H = c-common.h $(SPLAY_TREE_H) $(CPPLIB_H)
C_TREE_H = c-tree.h $(C_COMMON_H)
SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h
PREDICT_H = predict.h predict.def
--- 696,702 ----
GGC_H = ggc.h gtype-desc.h
TIMEVAR_H = timevar.h timevar.def
INSN_ATTR_H = insn-attr.h $(srcdir)/insn-addr.h $(srcdir)/varray.h
! C_COMMON_H = c-common.h $(SPLAY_TREE_H) $(CPPLIB_H) $(TREE_H)
C_TREE_H = c-tree.h $(C_COMMON_H)
SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h
PREDICT_H = predict.h predict.def
Index: gcc/c-common.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/c-common.h,v
retrieving revision 1.227
diff -c -3 -p -r1.227 c-common.h
*** gcc/c-common.h 18 May 2004 01:26:05 -0000 1.227
--- gcc/c-common.h 19 May 2004 04:37:55 -0000
*************** Software Foundation, 59 Temple Place - S
*** 25,30 ****
--- 25,31 ----
#include "splay-tree.h"
#include "cpplib.h"
#include "ggc.h"
+ #include "tree.h"
/* Usage of TREE_LANG_FLAG_?:
0: COMPOUND_STMT_NO_SCOPE (in COMPOUND_STMT).