[PATCH] Generate gimple-match.c and generic-match.c earlier
Richard Biener
rguenther@suse.de
Fri May 28 06:41:58 GMT 2021
On Fri, 28 May 2021, Bernd Edlinger wrote:
>
>
> On 5/28/21 6:42 AM, Bernd Edlinger wrote:
> > Hi,
> >
> > 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:
> >
>
> Oh, dear, git commit did eliminate the comments
> starting with "#"
> the mentined comment is
>
> # Dependency information.
>
> # 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.
>
> > $(ALL_HOST_OBJS) : | $(generated_files)
> >
> > So this patch adds gimple-match.c generic-match.c to generated_files.
> >
> >
> > Tested on x86_64-pc-linux-gnu.
> > Is it OK for trunk?
OK. Does it really help though?
Thanks,
Richard.
> >
> >
> > Thanks
> > Bernd.
> >
> >
> > 2021-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
> >
> > * Makefile.in (generated_files): Add gimple-match.c and
> > generic-match.c
> >
>
--
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)
More information about the Gcc-patches
mailing list