https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250
--- Comment #7 from Arsen Arsenović <arsen at aarsen dot me> --- Created attachment 54165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54165&action=edit hang-testing script With the attached script, I singled out utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o. For context, bisect-maybe-broken-2022-12-28-hangs is a build directory that contains files built with the "bad" gcc version (in this instance, GCC: (Gentoo 12.2.1, commit a3fbfc1027e9edcd14bb290b5702504d80d9e8fe) 12.2.1 20221227), which causes tblgen to run for longer than one minute and then get timed out (whereas it normally exits within five seconds). I also find it quite odd that -fdump-ipa-all didn't cause the build to reproduce before the revert. I can definitely see a bunch of IPA-pass dump files in the build directory