[Bug middle-end/104966] [11/12 Regression] Yet another bogus -Warray-bounds warning in libstdc++ headers

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 17 12:51:28 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104966

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. with no warning options the test fails with -Wstringop-overflow warnings
(enabled by default) and with -Wall the same exact same line of correct code
gives -Warray-bounds warnings. So I need to disable *both* to stop a bogus
warning on that one line.


More information about the Gcc-bugs mailing list