https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600
JuzheZhong <juzhe.zhong at rivai dot ai> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juzhe.zhong at rivai dot ai --- Comment #24 from JuzheZhong <juzhe.zhong at rivai dot ai> --- (In reply to Robin Dapp from comment #23) > 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". Hi, Robin. I believe your patch can solve the compile-time issue. But I wonder whether it can fix memory consumption too ?