https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66801
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- ../gcc/configure --disable-libstdcxx-pch --disable-libvtv --disable-libitm --disable-libcilkrts --disable-libssp --disable-libgomp --disable-werror --disable-multilib --enable-languages=c,c++ --enable-checking=release --with-build-config="bootstrap-lto bootstrap-O3" make profiledbootstrap is enough to reproduce. (gimple-match.c takes over 15 minutes to compile with this config).