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]

Patch installed to Makefile.in to fix


While looking into another issue, I noticed cases where we listed
explicit filenames in Makefile.in dependencies instead of listing the
right variables.  I think I got all of them with this patch and
installed it as an obvious bugfix after testing it on Irix6.2.

		--Kaveh

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.8146
diff -u -p -r1.8146 ChangeLog
--- ChangeLog	2000/11/03 18:55:50	1.8146
+++ ChangeLog	2000/11/03 19:37:16
@@ -1,3 +1,9 @@
+2000-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
+	(toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
+	(simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
+
 2000-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
 
 	* c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.532
diff -u -p -r1.532 Makefile.in
--- Makefile.in	2000/10/28 17:59:04	1.532
+++ Makefile.in	2000/11/03 19:37:24
@@ -1284,7 +1284,7 @@ print-tree.o : print-tree.c $(CONFIG_H) 
 stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \
    function.h $(EXPR_H) $(RTL_H) toplev.h $(GGC_H)
 fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h \
-   $(RTL_H) ggc.h
+   $(RTL_H) $(GGC_H)
 diagnostic.o : diagnostic.c diagnostic.h \
    $(CONFIG_H) system.h $(TREE_H) $(RTL_H) tm_p.h flags.h \
    $(GGC_H) input.h $(INSN_ATTR_H) insn-codes.h insn-config.h toplev.h intl.h 
@@ -1292,7 +1292,7 @@ toplev.o : toplev.c $(CONFIG_H) system.h
    flags.h input.h $(INSN_ATTR_H) xcoffout.h defaults.h output.h diagnostic.h \
    insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
    dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
-   graph.h loop.h  except.h regs.h $(TIMEVAR_H) $(lang_options_files) ssa.h
+   graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) ssa.h
 	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
 	  -DTARGET_NAME=\"$(target_alias)\" \
 	  -c `echo $(srcdir)/toplev.c | sed 's,^\./,,'`
@@ -1363,7 +1363,7 @@ jump.o : jump.c $(CONFIG_H) system.h $(R
 
 simplify-rtx.o : simplify-rtx.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) \
    hard-reg-set.h flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h \
-   output.h function.h cselib.h ggc.h $(OBSTACK_H)
+   output.h function.h cselib.h $(GGC_H) $(OBSTACK_H)
 cse.o : cse.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \
    real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h output.h function.h \
    $(BASIC_BLOCK_H) $(GGC_H)

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