https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113524
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I see this on ppc64le also, but with FAIL: gcc.dg/torture/pr113026-2.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 9) FAIL: gcc.dg/torture/pr113026-2.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 17) FAIL: gcc.dg/torture/pr113026-2.c -O3 -g (test for bogus messages, line 9) FAIL: gcc.dg/torture/pr113026-2.c -O3 -g (test for bogus messages, line 17) The excess errors are: pr113026-2.c: In function ‘foo1’: pr113026-2.c:9:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 9 | dst1[i] = src[i]; /* { dg-bogus "" } */ | ~~~~~~~~^~~~~~~~ pr113026-2.c:4:6: note: at offset 17 into destination object ‘dst1’ of size 17 4 | char dst1[17]; | ^~~~ pr113026-2.c:9:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 9 | dst1[i] = src[i]; /* { dg-bogus "" } */ | ~~~~~~~~^~~~~~~~ pr113026-2.c:4:6: note: at offset 18 into destination object ‘dst1’ of size 17 4 | char dst1[17]; | ^~~~