https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472
--- Comment #2 from Petr Sumbera <sumbera at volny dot cz> --- (In reply to Andrew Pinski from comment #1) > Are you building in the source tree? No. I'm building it outside of source tree. GCC 11 and older don't seem to have this problem.