public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/102713] New: [12 regression] Several failures after r12-3273
@ 2021-10-12 16:53 seurer at gcc dot gnu.org
  2021-10-12 19:12 ` [Bug other/102713] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-10-12 16:53 UTC (permalink / raw)
  To: gcc-bugs

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 <linkw@linux.ibm.com>
Date:   Sat Oct 9 04:17:07 2021 -0500

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/102713] [12 regression] Several failures after r12-3273
  2021-10-12 16:53 [Bug other/102713] New: [12 regression] Several failures after r12-3273 seurer at gcc dot gnu.org
@ 2021-10-12 19:12 ` pinskia at gcc dot gnu.org
  2021-10-13  2:18 ` linkw at gcc dot gnu.org
  2021-10-20  6:30 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-12 19:12 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
           Keywords|                            |diagnostic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/102713] [12 regression] Several failures after r12-3273
  2021-10-12 16:53 [Bug other/102713] New: [12 regression] Several failures after r12-3273 seurer at gcc dot gnu.org
  2021-10-12 19:12 ` [Bug other/102713] " pinskia at gcc dot gnu.org
@ 2021-10-13  2:18 ` linkw at gcc dot gnu.org
  2021-10-20  6:30 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2021-10-13  2:18 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org

--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
These new failures are expected since the typos for target selector which are
fixed by this commit made these cases pass unexpectedly before (that is running
on powerpc without any selector). I would mark this as duplicated of PR102658.
The posted patch for PR102658 can fix these failures.

*** This bug has been marked as a duplicate of bug 102658 ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/102713] [12 regression] Several failures after r12-3273
  2021-10-12 16:53 [Bug other/102713] New: [12 regression] Several failures after r12-3273 seurer at gcc dot gnu.org
  2021-10-12 19:12 ` [Bug other/102713] " pinskia at gcc dot gnu.org
  2021-10-13  2:18 ` linkw at gcc dot gnu.org
@ 2021-10-20  6:30 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2021-10-20  6:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102713
Bug 102713 depends on bug 102658, which changed state.

Bug 102658 Summary: [12 regression] Many test case failures after r12-4240
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102658

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-20  6:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 16:53 [Bug other/102713] New: [12 regression] Several failures after r12-3273 seurer at gcc dot gnu.org
2021-10-12 19:12 ` [Bug other/102713] " pinskia at gcc dot gnu.org
2021-10-13  2:18 ` linkw at gcc dot gnu.org
2021-10-20  6:30 ` linkw at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).