public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
@ 2020-09-02 18:02 seurer at gcc dot gnu.org
  2020-09-02 21:41 ` [Bug middle-end/96903] " msebor at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-09-02 18:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96903
           Summary: [11 regression] excess errors from gcc.dg/pr89350.c
                    after r11-2973
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:0c344a649d803a83ed35f629d292b98143935ffa, r11-2973

make  -k check-gcc RUNTESTFLAGS="dg.exp=gcc.dg/pr89350.c"
...
Executing on host: /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/pr89350.c   
-fdiagnostics-plain-output   -O2 -Wall -S -o pr89350.s    (timeout = 300)
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/pr89350.c
-fdiagnostics-plain-output -O2 -Wall -S -o pr89350.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr89350.c: In function
'main':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr89350.c:16:7: warning:
'__builtin_memcpy' writing 1 or more bytes into a region of size 0 overflows
the destination [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr89350.c:6:6: note:
destination object 'buf'
FAIL: gcc.dg/pr89350.c  (test for bogus messages, line 16)
PASS: gcc.dg/pr89350.c (test for excess errors)
testcase /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/dg.exp completed in
0 seconds

                === gcc Summary ===

# of expected passes            1
# of unexpected failures        1

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

* [Bug middle-end/96903] [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
  2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
@ 2020-09-02 21:41 ` msebor at gcc dot gnu.org
  2020-09-03  6:16 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-09-02 21:41 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |88443
     Ever confirmed|0                           |1
          Component|testsuite                   |middle-end
   Last reconfirmed|                            |2020-09-02
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Also reported on x86_64 here:
  https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553124.html


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
[Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

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

* [Bug middle-end/96903] [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
  2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
  2020-09-02 21:41 ` [Bug middle-end/96903] " msebor at gcc dot gnu.org
@ 2020-09-03  6:16 ` rguenth at gcc dot gnu.org
  2020-09-09 23:35 ` msebor at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-03  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug middle-end/96903] [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
  2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
  2020-09-02 21:41 ` [Bug middle-end/96903] " msebor at gcc dot gnu.org
  2020-09-03  6:16 ` rguenth at gcc dot gnu.org
@ 2020-09-09 23:35 ` msebor at gcc dot gnu.org
  2020-09-11 15:43 ` cvs-commit at gcc dot gnu.org
  2020-09-11 15:43 ` msebor at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-09-09 23:35 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553550.html

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

* [Bug middle-end/96903] [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
  2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-09-09 23:35 ` msebor at gcc dot gnu.org
@ 2020-09-11 15:43 ` cvs-commit at gcc dot gnu.org
  2020-09-11 15:43 ` msebor at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-11 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:f36a8168f04dfbde9d4c64421c1058975b28ff9a

commit r11-3162-gf36a8168f04dfbde9d4c64421c1058975b28ff9a
Author: Martin Sebor <msebor@redhat.com>
Date:   Fri Sep 11 09:40:45 2020 -0600

    Move/correct offset adjustment (PR middle-end/96903).

    Resolves:
    PR middle-end/96903 - bogus warning on memcpy at negative offset from array
end

    gcc/ChangeLog:

            PR middle-end/96903
            * builtins.c (compute_objsize): Remove incorrect offset adjustment.
            (compute_objsize): Adjust offset range here instead.

    gcc/testsuite/ChangeLog:

            PR middle-end/96903
            * gcc.dg/Wstringop-overflow-42.c:: Add comment.
            * gcc.dg/Wstringop-overflow-43.c: New test.

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

* [Bug middle-end/96903] [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973
  2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-09-11 15:43 ` cvs-commit at gcc dot gnu.org
@ 2020-09-11 15:43 ` msebor at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-09-11 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Sebor <msebor at gcc dot gnu.org> changed:

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

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed in r11-3162.

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

end of thread, other threads:[~2020-09-11 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 18:02 [Bug testsuite/96903] New: [11 regression] excess errors from gcc.dg/pr89350.c after r11-2973 seurer at gcc dot gnu.org
2020-09-02 21:41 ` [Bug middle-end/96903] " msebor at gcc dot gnu.org
2020-09-03  6:16 ` rguenth at gcc dot gnu.org
2020-09-09 23:35 ` msebor at gcc dot gnu.org
2020-09-11 15:43 ` cvs-commit at gcc dot gnu.org
2020-09-11 15:43 ` msebor 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).