https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763
--- Comment #9 from Alexander Monakov <amonakov at gcc dot gnu.org> --- A (potentially simpler) alternative is to use sequential builds (make without -j) and bisect by index of compiled source file, i.e. have a wrapper script around gcc that uses some global counter to pass -mno-bmi to first N compiler invocations.