https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600
--- Comment #23 from Robin Dapp <rdapp at gcc dot gnu.org> --- For the lack of a better idea (and time constraints as looking for compiler bottlenecks is slow and tedious) I went with Kito's suggestion of splitting insn-emit.cc This reduces this part of the compilation with eight threads to 40s (from 10 min before). I evenly split the number of patterns into the 10 files but it just so happens that the last file will receive all the problematical maybe_code_for functions, so that file makes up for most of the 40s. The rest usually takes 5-20s. Doing bootstrapping tests now, going to post an initial patch once it's "presentable".