This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR bootstrap/44315: 4.6 Regression] Circular build/gencondmd.o <- insn-flags.h dependency
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 29 May 2010 09:22:03 -0700
- Subject: PATCH: PR bootstrap/44315: 4.6 Regression] Circular build/gencondmd.o <- insn-flags.h dependency
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
build/gencondmd.o shouldn't depend on insn-flags.h. This patch filters
out insn-flags.h. OK to install?
Thanks.
H.J.
----
2010-05-29 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/44315
* Makefile.in (build/gencondmd.o): Remove TM_H := $(GTM_H).
Filter out insn-flags.h.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index cb432cb..646269e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3748,12 +3748,11 @@ build/rtl.o: rtl.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \
$(RTL_H) $(GGC_H) errors.h
build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) \
$(GGC_H) $(TOPLEV_H)
-build/gencondmd.o : \
- TM_H := $(GTM_H)
build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
- coretypes.h $(GTM_H) insn-constants.h $(RTL_H) $(TM_P_H) \
- $(FUNCTION_H) $(REGS_H) $(RECOG_H) output.h $(FLAGS_H) \
- $(RESOURCE_H) $(TOPLEV_H) reload.h $(EXCEPT_H) tm-constrs.h
+ coretypes.h $(GTM_H) insn-constants.h \
+ $(filter-out insn-flags.h, $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(REGS_H) \
+ $(RECOG_H) output.h $(FLAGS_H) $(RESOURCE_H) $(TOPLEV_H) reload.h \
+ $(EXCEPT_H) tm-constrs.h)
# This pulls in tm-pred.h which contains inline functions wrapping up
# predicates from the back-end so those functions must be discarded.
# No big deal since gencondmd.c is a dummy file for non-GCC compilers.