https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166
--- Comment #12 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Andreas Schwab from comment #11) > You can add target-specific flags like this: > > $(INSNEMIT_SEQ_O): ALL_COMPILERFLAGS += -fno-tree-dominator-opts Thanks. With "$(GIMPLE_MATCH_PD_SEQ_O) $(INSNEMIT_SEQ_O) insn-opinit.o insn-recog.o: ALL_COMPILERFLAGS += -O1 -fno-tree-dominator-opts" a make -j64 drops from 8 hours to 3.5 hours: real 202m25.031s user 2209m7.176s sys 108m49.102s Now insn-recog.cc (even though it is included in the workaround) takes the longest time (~1 hour) to compile.