https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95190
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- > "writing 1 bytes into a region of size 0 -Wstringop-overflow=". Yet > -Wno-stringop-overflow is passed to the compiler. I tried disabling the > warning with #pragma diagnostic, no luck there. I must confirm that '#pragma diagnostic' is completely unsupported by LTO and I spent some time tweaking into it. Eventually, I bailed out.