[PATCH] * Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H).

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] * Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H).

Jason Merrill
So that rebuilding my tree with or without the operator<=> patches properly
rebuilds genmatch.

Tested x86_64-pc-linux-gnu, applying to trunk as obvious.

---
 gcc/Makefile.in | 2 +-
 gcc/ChangeLog   | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0fe02fb27a1..152df9fa9b3 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2783,7 +2783,7 @@ build/genmddump.o : genmddump.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
   $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
 build/genmatch.o : genmatch.c $(BCONFIG_H) $(SYSTEM_H) \
   $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-map.h $(GGC_H) is-a.h \
-  tree.def builtins.def internal-fn.def case-cfn-macros.h
+  tree.def builtins.def internal-fn.def case-cfn-macros.h $(CPPLIB_H)
 build/gencfn-macros.o : gencfn-macros.c $(BCONFIG_H) $(SYSTEM_H) \
   $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-set.h builtins.def \
   internal-fn.def
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1921bc775d6..63fae8615e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-16  Jason Merrill  <[hidden email]>
+
+ * Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H).
+
 2019-09-16  Martin Liska  <[hidden email]>
 
  * gimple-fold.c (or_comparisons_1): Remove rules moved

base-commit: 4bc26ca2c40a29d0f49bad7a8326dbac6f764c35
--
2.21.0