https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98448
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Hm, I've just tried that on x86_64-linux with: ../configure --disable-multilib --with-build-config=bootstrap-O3 --enable-languages=c,c++ and it's fine.