https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97047
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Blocks| |56456, 97048 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- With -Wall the test case triggers -Warray-bounds. Without -Wall it triggers -Wstringop-overread. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 [Bug 56456] [meta-bug] bogus/missing -Warray-bounds https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048 [Bug 97048] [meta-bug] bogus/missing -Wstringop-overread warnings