public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1106] Generate gimple-match.c and generic-match.c earlier
@ 2021-05-28 6:51 Bernd Edlinger
0 siblings, 0 replies; only message in thread
From: Bernd Edlinger @ 2021-05-28 6:51 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c9114f2804b91690e030383de15a24e0b738e856
commit r12-1106-gc9114f2804b91690e030383de15a24e0b738e856
Author: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date: Fri May 28 06:27:27 2021 +0200
Generate gimple-match.c and generic-match.c earlier
I was wondering, why gimple-match.c and generic-match.c
are not built early but always last, which slows down parallel
makes significantly.
The reason seems to be that generated_files does not
mention gimple-match.c and generic-match.c.
This comment in Makefile.in says it all:
"In order for parallel make to really start compiling the expensive
objects from $(OBJS) as early as possible, build all their
prerequisites strictly before all objects."
So this patch adds gimple-match.c and generic-match.c to generated_files.
2021-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
* Makefile.in (generated_files): Add gimple-match.c and
generic-match.c
Diff:
---
gcc/Makefile.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index da2ef246c81..4cb2966157e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2753,6 +2753,7 @@ generated_files = config.h tm.h $(TM_P_H) $(TM_D_H) $(TM_H) multilib.h \
$(ALL_GTFILES_H) gtype-desc.c gtype-desc.h version.h \
options.h target-hooks-def.h insn-opinit.h \
common/common-target-hooks-def.h pass-instances.def \
+ gimple-match.c generic-match.c \
c-family/c-target-hooks-def.h d/d-target-hooks-def.h \
case-cfn-macros.h \
cfn-operators.pd omp-device-properties.h
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-28 6:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 6:51 [gcc r12-1106] Generate gimple-match.c and generic-match.c earlier Bernd Edlinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).