Patchwork Missing dependencies in Makefile.in

login
register
mail settings
Submitter Jeff Law
Date April 4, 2013, 5:12 a.m.
Message ID <515D0BD9.4050807@redhat.com>
Download mbox | patch
Permalink /patch/233619/
State New
Headers show

Comments

Jeff Law - April 4, 2013, 5:12 a.m.
lra-constraints.c and lra-eliminations.c include optabs.h, but don't 
have a dependency on $(OPTABS_H).

This is obviously bad.

Fixed via the attached patch, which I checked with c/c++ only bootstrap.

Applied to the trunk as obvious.
commit d5bbf015a843c696478a36e3f048c92307e221c6
Author: Jeff Law <law@redhat.com>
Date:   Wed Apr 3 23:01:10 2013 -0600

           * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
            (lra-eliminations.o): Likewise.

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 52a8b36..b8a6900 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@ 
+2013-04-03  Jeff Law  <law@redhat.com>
+
+	* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
+	(lra-eliminations.o): Likewise.
+
 2013-04-03  Teresa Johnson  <tejohnson@google.com>
 
 	* gcov-io.c (compute_working_sets): Moved most of body of old
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 19377a9..37569ad 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3301,12 +3301,12 @@  lra-constraints.o : lra-constraints.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h insn-codes.h $(DF_H) \
    $(RECOG_H) output.h addresses.h $(REGS_H) hard-reg-set.h $(FLAGS_H) \
    $(FUNCTION_H) $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) \
-   ira.h rtl-error.h $(LRA_INT_H)
+   ira.h rtl-error.h $(LRA_INT_H) $(OPTABS_H)
 lra-eliminations.o : lra-eliminations.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
    $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) ira.h \
-   rtl-error.h $(LRA_INT_H)
+   rtl-error.h $(LRA_INT_H) $(OPTABS_H)
 lra-lives.o : lra-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
    $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \