https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102713
Bug ID: 102713 Summary: [12 regression] Several failures after r12-3273 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- previous run: g:b4e81f6dd48732ace73eebf1d2f46ca1d2533b79, r12-4272: 109 failures this run : g:2b3014326fb883a96601a4dde295858d715289a7, r12-4273: 115 failures FAIL: c-c++-common/Wstringop-overflow-2.c -Wc++-compat (test for excess errors) FAIL: c-c++-common/Wstringop-overflow-2.c -std=gnu++14 (test for excess errors) FAIL: c-c++-common/Wstringop-overflow-2.c -std=gnu++17 (test for excess errors) FAIL: c-c++-common/Wstringop-overflow-2.c -std=gnu++2a (test for excess errors) FAIL: c-c++-common/Wstringop-overflow-2.c -std=gnu++98 (test for excess errors) FAIL: gcc.dg/Warray-parameter-3.c (test for excess errors) FAIL: gcc.dg/Wstringop-overflow-21.c (test for excess errors) FAIL: gcc.dg/Wstringop-overflow-76.c (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c -fdiagnostics-plain-output -Wall -Warray-parameter=1 -S -o Warray-parameter-3.s^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:57:12: warning: argument 1 of type 'int[static 2]' with mismatched bound [-Warray-parameter=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:56:12: note: previously declared as 'int[static 1]'^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c: In function 'gcas3':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:81:4: warning: array subscript 3 is outside array bounds of 'char[3]' [-Warray-bounds]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:78:13: note: at offset 3 into object 'a' of size [0, 3]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:80:8: warning: writing 4 bytes into a region of size between 0 and 3 [-Wstringop-overflow=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:78:13: note: destination object 'a' of size [0, 3]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c: In function 'gias3':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:88:4: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:85:12: note: at offset 12 into object 'a' of size [0, 12]^M PASS: gcc.dg/Warray-parameter-3.c (test for warnings, line 56) PASS: gcc.dg/Warray-parameter-3.c (test for warnings, line 57) PASS: gcc.dg/Warray-parameter-3.c (test for warnings, line 81) PASS: gcc.dg/Warray-parameter-3.c (test for warnings, line 88) FAIL: gcc.dg/Warray-parameter-3.c (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Warray-parameter-3.c:80:8: warning: writing 4 bytes into a region of size between 0 and 3 [-Wstringop-overflow=] spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c -fdiagnostics-plain-output -O2 -Wall -Wno-array-bounds -S -o Wstringop-overflow-21.s^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c: In function 'test_memset_zero_length':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:18:3: warning: '__builtin_memset' writing 3 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:12:8: note: at offset 1 into destination object 'a' of size 3^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c: In function 'test_store_zero_length':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:26:8: warning: writing 4 bytes into a region of size 3 [-Wstringop-overflow=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:24:8: note: destination object 'a' of size 3^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c: In function 'test_memset_flexarray':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:45:3: warning: '__builtin_memset' writing 3 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:39:8: note: at offset 1 into destination object 'a' of size 3^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c: In function 'test_store_flexarray':^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:53:8: warning: writing 4 bytes into a region of size 3 [-Wstringop-overflow=]^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:51:8: note: destination object 'a' of size 3^M PASS: gcc.dg/Wstringop-overflow-21.c (test for warnings, line 18) PASS: gcc.dg/Wstringop-overflow-21.c (test for bogus messages, line 28) FAIL: gcc.dg/Wstringop-overflow-21.c (test for warnings, line 29) PASS: gcc.dg/Wstringop-overflow-21.c (test for warnings, line 45) PASS: gcc.dg/Wstringop-overflow-21.c (test for bogus messages, line 55) FAIL: gcc.dg/Wstringop-overflow-21.c (test for warnings, line 56) FAIL: gcc.dg/Wstringop-overflow-21.c (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:26:8: warning: writing 4 bytes into a region of size 3 [-Wstringop-overflow=] /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-21.c:53:8: warning: writing 4 bytes into a region of size 3 [-Wstringop-overflow=] commit 2b3014326fb883a96601a4dde295858d715289a7 (HEAD, refs/bisect/bad) Author: Kewen Lin <li...@linux.ibm.com> Date: Sat Oct 9 04:17:07 2021 -0500