On Fri, May 28, 2021 at 09:33:14AM +0200, Bernd Edlinger wrote: > > This should help for what I was complaining about in > > https://gcc.gnu.org/pipermail/gcc/2021-May/235963.html . I build with > > -j24 and it was stalling on compiling gimple-match.c for me. > > Looks like insn-attrtab.c is missed too; I saw genattrtab was running last > > too. > > > > Yeah, probably insn-automata.c as well, sometimes it is picked up early > sometimes not. > maybe $(simple_generated_c) should be added to generated_files, > but insn-attrtab.c is yet another exception.
The problem with insn-automata.c is that on some targets it is very time consuming to generate that file (I think e.g. s390x) and by putting it into generated_files it could actually hurt the build speed because everything will be waiting on insn-automata.c generation for 1-2 minutes or how long before anything else can be built. Jakub