From 31c70a7daa368767f0f58e0389deb2c69d9e14fd Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Fri, 5 May 2023 19:46:25 +0300 Subject: [PATCH] Makefile.in: clean up match.pd-related dependencies Clean up confusing changes from the recent refactoring for parallel match.pd build. gimple-match-head.o is not built. Remove related flags adjustment. Autogenerated gimple-match-N.o files do not depend on gimple-match-exports.cc. {gimple,generic)-match-auto.h only depend on the prerequisites of the corresponding s-{gimple,generic}-match stamp file, not any .cc file. gcc/ChangeLog: * Makefile.in: (gimple-match-head.o-warn): Remove. (GIMPLE_MATCH_PD_SEQ_SRC): Do not depend on gimple-match-exports.cc. (gimple-match-auto.h): Only depend on s-gimple-match. (generic-match-auto.h): Likewise. --- gcc/Makefile.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 17486585813f..bb63b5c501d9 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -240,7 +240,6 @@ gengtype-lex.o-warn = -Wno-error libgcov-util.o-warn = -Wno-error libgcov-driver-tool.o-warn = -Wno-error libgcov-merge-tool.o-warn = -Wno-error -gimple-match-head.o-warn = -Wno-unused gimple-match-exports.o-warn = -Wno-unused dfp.o-warn = -Wno-strict-aliasing @@ -2684,12 +2683,10 @@ s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in false; \ fi -$(GIMPLE_MATCH_PD_SEQ_SRC): s-gimple-match gimple-match-head.cc \ - gimple-match-exports.cc; @true -gimple-match-auto.h: s-gimple-match gimple-match-head.cc \ - gimple-match-exports.cc; @true +$(GIMPLE_MATCH_PD_SEQ_SRC): s-gimple-match gimple-match-head.cc; @true +gimple-match-auto.h: s-gimple-match; @true $(GENERIC_MATCH_PD_SEQ_SRC): s-generic-match generic-match-head.cc; @true -generic-match-auto.h: s-generic-match generic-match-head.cc; @true +generic-match-auto.h: s-generic-match; @true s-gimple-match: build/genmatch$(build_exeext) \ $(srcdir)/match.pd cfn-operators.pd -- 2.47.2