https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83462
seurer at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seurer at gcc dot gnu.org --- Comment #2 from seurer at gcc dot gnu.org --- I am seeing some failures on powerpc64 as well albeit only a few. Also with c-c++-common/Warray-bounds-4.c. FAIL: c-c++-common/Warray-bounds-3.c -std=gnu++98 (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/Warray-bounds-3.c:359:3: warning: 'char* strcpy(char*, const char*)' offset 10 from the object at 'ma' is out of the bounds of referenced subobject 'MA::a5' with type 'char [5]' at offset 4 [-Warray-bounds] FAIL: c-c++-common/Warray-bounds-3.c -std=gnu++11 (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/Warray-bounds-3.c:359:3: warning: 'char* strcpy(char*, const char*)' offset 10 from the object at 'ma' is out of the bounds of referenced subobject 'MA::a5' with type 'char [5]' at offset 4 [-Warray-bounds] FAIL: c-c++-common/Warray-bounds-3.c -std=gnu++14 (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/Warray-bounds-3.c:359:3: warning: 'char* strcpy(char*, const char*)' offset 10 from the object at 'ma' is out of the bounds of referenced subobject 'MA::a5' with type 'char [5]' at offset 4 [-Warray-bounds] The other failing test is generating warnings: FAIL: c-c++-common/Warray-bounds-4.c -Wc++-compat (test for warnings, line 67) FAIL: c-c++-common/Warray-bounds-4.c -std=gnu++98 (test for warnings, line 67) FAIL: c-c++-common/Warray-bounds-4.c -std=gnu++11 (test for warnings, line 67) FAIL: c-c++-common/Warray-bounds-4.c -std=gnu++14 (test for warnings, line 67) Line 67 is this: TM ("", "012345", ma.a7 + i, ma.a7); /* { dg-warning "offset 13 from the object at .ma. is out of the bounds of referenced subobject .\(MA::\)?a7. with type .char ?\\\[7]. at offset 5" } */