https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355
--- Comment #2 from Stephan Bergmann <sbergman at redhat dot com> --- (In reply to Richard Biener from comment #1) > Did you see whether this is changed behavior from GCC 11? I didn't check that myself, but the Debian LibreOffice maintainer claims that he sees the same symptoms when building with some GCC 11 (against some GCC 12 libstdc++, though). (It appears that this issue only happened to start to hit builds of LibreOffice after some recent code changes in LibreOffice, so we don't have any historic data on which versions of GCC would not have had this issue.)