https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032
--- Comment #21 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Mark Wielaard from comment #14) > After about 20~25 minutes only insn-attrtab.cc is left (all other files > mentioned in comment #13 have compiled successfully). > > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/./prev-gcc/cc1plus > -quiet -nostdinc++ -I > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/prev-riscv64-unknown- > linux-gnu/libstdc++-v3/include/riscv64-unknown-linux-gnu -I > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/prev-riscv64-unknown- > linux-gnu/libstdc++-v3/include -I > /home/builder/worker/gcc-full-fedora-riscv/gcc/libstdc++-v3/libsupc++ -I . > -I . -I ../../gcc/gcc -I ../../gcc/gcc/. -I ../../gcc/gcc/../include -I > ../../gcc/gcc/../libcpp/include -I ../../gcc/gcc/../libcody -I > ../../gcc/gcc/../libdecnumber -I ../../gcc/gcc/../libdecnumber/dpd -I > ../libdecnumber -I ../../gcc/gcc/../libbacktrace -imultilib . -iprefix > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/prev-gcc/../lib/gcc/ > riscv64-unknown-linux-gnu/15.0.0/ -isystem > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/./prev-gcc/include > -isystem > /home/builder/worker/gcc-full-fedora-riscv/gcc-build/./prev-gcc/include- > fixed -MMD insn-attrtab.d -MF ./.deps/insn-attrtab.TPo -MP -MT > insn-attrtab.o -D_GNU_SOURCE -D IN_GCC -D HAVE_CONFIG_H insn-attrtab.cc > -quiet -dumpbase insn-attrtab.cc -dumpbase-ext .cc > -march=rv64imafdc_zicsr_zifencei_zaamo_zalrsc -mabi=lp64d > -misa-spec=20191213 -mtls-dialect=trad > -march=rv64imafdc_zicsr_zifencei_zmmul_zaamo_zalrsc_zca_zcd -g -O2 -Wextra > -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual > -Wsuggest-attribute=format -Wconditionally-supported -Woverloaded-virtual=2 > -Wpedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -Werror -fchecking=1 -fno-exceptions -fno-rtti -fasynchronous-unwind-tables > -fno-PIE -o /tmp/ccMkz4ih.s > > Based on earlier builds this file will take 2.5 to 3 hours to build (while > all other cores are idle). Reverting commit 56946c801a7c ("gimple: Add limit after which slower switchlower algs are used [PR117091] [PR117352]") on top of commit gcc-15-6366-g8462a5fdbfe brings the above compile down to just 1m9.461s. Total bootstrap (make -j64) comes down to 2 hours and 20 minutes (from 6 to 8 hours).