Patchwork Fix missing dependency in Makefile.in

login
register
mail settings
Submitter Jeff Law
Date May 17, 2013, 3:32 a.m.
Message ID <5195A4BD.7020105@redhat.com>
Download mbox | patch
Permalink /patch/244477/
State New
Headers show

Comments

Jeff Law - May 17, 2013, 3:32 a.m.
I've stumbled across this a few times.  tree-switch-conversion.c 
includes optabs.h and thus should depend on $(OPTABS_H).

Installed as obvious.
commit 7028127e5cdc8c8662a0850dcd3b08df10d229b3
Author: Jeff Law <law@redhat.com>
Date:   Thu May 16 21:31:09 2013 -0600

           * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H).

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d2371ba..38e8f18 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@ 
+2013-05-16  Jeff Law  <law@redhat.com>
+
+	* Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H).
+
 2013-05-16  Uros Bizjak  <ubizjak@gmail.com>
 
 	* config/i386/driver-i386.c (host_detect_local_cpu): Determine
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 23e2926..63d114b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3068,7 +3068,7 @@  tree-switch-conversion.o : tree-switch-conversion.c $(CONFIG_H) $(SYSTEM_H) \
     $(TM_H) coretypes.h $(GIMPLE_H) $(CFGLOOP_H) \
     $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) \
     $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
-    $(GIMPLE_PRETTY_PRINT_H) langhooks.h
+    $(GIMPLE_PRETTY_PRINT_H) langhooks.h $(OPTABS_H)
 tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
     $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(TREE_HASHER_H) $(GIMPLE_H) \
     $(CFGLOOP_H) tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h