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: x86_64, r120172: bootstrap error (In function `null_or_integer_zerop': undefined reference to `integer_zerop')


On Sat, 2006-12-23 at 18:32 +0100, Daniel Franke wrote:
> host:      x86_64-pc-linux-gnu
> revision:  r120172

Even though I could not reproduce this failure.  The problem is simple
and obvious.  vec.c includes tree.h for some reason, it has always be
included.

Committed this patch as obvious after a bootstrap/test on i686-linux-gnu
(with C only).

Thanks,
Andrew Pinski

ChangeLog:

	* vec.c: Don't include tree.h.
	* Makefile.in (vec.o): Update dependencies.
	(build/vec.o): Likewise.
Index: vec.c
===================================================================
--- vec.c	(revision 120174)
+++ vec.c	(working copy)
@@ -31,7 +31,6 @@ Software Foundation, 51 Franklin Street,
 #include "ggc.h"
 #include "vec.h"
 #include "coretypes.h"
-#include "tree.h"
 #include "toplev.h"
 
 struct vec_prefix 
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 120174)
+++ Makefile.in	(working copy)
@@ -2515,7 +2515,7 @@ global.o : global.c $(CONFIG_H) $(SYSTEM
    $(TIMEVAR_H) vecprim.h
 varray.o : varray.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) \
    $(HASHTAB_H) $(BCONFIG_H) $(VARRAY_H) toplev.h
-vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) coretypes.h vec.h $(GGC_H) \
+vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h vec.h $(GGC_H) \
    toplev.h
 reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
    $(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
@@ -2971,7 +2971,7 @@ build/read-rtl.o: read-rtl.c $(BCONFIG_H
   $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) $(HASHTAB_H) gensupport.h
 build/rtl.o: rtl.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H)	\
   $(RTL_H) $(REAL_H) $(GGC_H) errors.h
-build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) $(TREE_H) coretypes.h vec.h \
+build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h vec.h \
    $(GGC_H) toplev.h
 build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H)		\
   coretypes.h $(GTM_H) insn-constants.h $(RTL_H) $(TM_P_H)		\

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