From: Kewen Lin Date: Tue, 15 Aug 2023 08:01:20 +0000 (-0500) Subject: Makefile.in: Make recog.h depend on $(TREE_H) [PR111021] X-Git-Tag: basepoints/gcc-15~6924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb95399f43873e1f34119ac260bbea2ef358e53;p=thirdparty%2Fgcc.git Makefile.in: Make recog.h depend on $(TREE_H) [PR111021] Commit r14-3093 introduced a random build failure on build/gencondmd.cc building. Since r14-3093 make recog.h include tree.h, which further includes (depends on) some files that are generated during the building, such as: all-tree.def, tree-check.h etc, when building file build/gencondmd.cc, the build can fail if these dependences are not ready. So this patch is to teach this dependence. Thank Jan-Benedict Glaw for testing this! PR bootstrap/111021 gcc/ChangeLog: * Makefile.in (RECOG_H): Add $(TREE_H) as dependence. --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index a17191435e35..a00dad965c5f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -992,7 +992,7 @@ GIMPLE_H = gimple.h gimple.def gsstruct.def $(VEC_H) \ $(GGC_H) $(BASIC_BLOCK_H) $(TREE_H) tree-ssa-operands.h \ tree-ssa-alias.h $(INTERNAL_FN_H) $(HASH_TABLE_H) is-a.h GCOV_IO_H = gcov-io.h version.h auto-host.h gcov-counter.def -RECOG_H = recog.h +RECOG_H = recog.h $(TREE_H) EMIT_RTL_H = emit-rtl.h FLAGS_H = flags.h flag-types.h $(OPTIONS_H) OPTIONS_H = options.h flag-types.h $(OPTIONS_H_EXTRA)