https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108153
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I've tried to reproduce it on gcc112.fsffrance.org with ../configure --enable-languages=c,c++,lto,m2 --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libsanitizer make -j160 profiledbootstrap but it works there.