public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 @ 2020-08-17 22:45 seurer at gcc dot gnu.org 2020-08-18 7:19 ` [Bug tree-optimization/96665] " marxin at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: seurer at gcc dot gnu.org @ 2020-08-17 22:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96665 Bug ID: 96665 Summary: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:866626efd749ed3e2b7014e88e4340b5a4c73560, r11-2709 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/strlenopt-55.c -fdiagnostics-plain-output -O1 -Wall -fdump-tree-gimple -fdump-tree-optimized -S -o strlenopt-55.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/strlenopt-55.c -fdiagnostics-plain-output -O1 -Wall -fdump-tree-gimple -fdump-tree-optimized -S -o strlenopt-55.s /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/strlenopt-55.c:128:3: warning: unsigned conversion from 'int' to 'short unsigned int' changes value from '65536' to '0' [-Woverflow] PASS: gcc.dg/strlenopt-55.c (test for warnings, line 128) Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled90025.cc -fdiagnostics-plain-output -S -o exceptions_enabled90025.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled90025.cc -fdiagnostics-plain-output -S -o exceptions_enabled90025.s PASS: gcc.dg/strlenopt-55.c (test for excess errors) PASS: gcc.dg/strlenopt-55.c scan-tree-dump-times gimple "strlen1" 0 gcc.dg/strlenopt-55.c: pattern found 3 times FAIL: gcc.dg/strlenopt-55.c scan-tree-dump-times gimple "memcmp" 0 PASS: gcc.dg/strlenopt-55.c scan-tree-dump-times gimple "strcmp" 0 gcc.dg/strlenopt-55.c: pattern found 3 times FAIL: gcc.dg/strlenopt-55.c scan-tree-dump-times optimized "call_in_true_branch_not_eliminated" 0 testcase /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/dg.exp completed in 0 seconds === gcc Summary === # of expected passes 4 # of unexpected failures 2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/96665] [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 2020-08-17 22:45 [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 seurer at gcc dot gnu.org @ 2020-08-18 7:19 ` marxin at gcc dot gnu.org 2020-08-18 16:34 ` msebor at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: marxin at gcc dot gnu.org @ 2020-08-18 7:19 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96665 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-08-18 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |marxin at gcc dot gnu.org, | |msebor at gcc dot gnu.org --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- @seurer: Please add author of the revision to CC next time. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/96665] [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 2020-08-17 22:45 [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 seurer at gcc dot gnu.org 2020-08-18 7:19 ` [Bug tree-optimization/96665] " marxin at gcc dot gnu.org @ 2020-08-18 16:34 ` msebor at gcc dot gnu.org 2020-08-18 18:59 ` cvs-commit at gcc dot gnu.org 2020-08-18 19:00 ` [Bug tree-optimization/96665] [11 regression] memcmp of a constant string not folded msebor at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: msebor at gcc dot gnu.org @ 2020-08-18 16:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96665 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization, patch Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- Patch I plan to commit: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552161.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/96665] [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 2020-08-17 22:45 [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 seurer at gcc dot gnu.org 2020-08-18 7:19 ` [Bug tree-optimization/96665] " marxin at gcc dot gnu.org 2020-08-18 16:34 ` msebor at gcc dot gnu.org @ 2020-08-18 18:59 ` cvs-commit at gcc dot gnu.org 2020-08-18 19:00 ` [Bug tree-optimization/96665] [11 regression] memcmp of a constant string not folded msebor at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-08-18 18:59 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96665 --- 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:d367f5fcb579d21c3093cf5c464f5787fe584a1d commit r11-2743-gd367f5fcb579d21c3093cf5c464f5787fe584a1d Author: Martin Sebor <msebor@redhat.com> Date: Tue Aug 18 12:57:18 2020 -0600 PR middle-end/96665 - memcmp of a constant string not folded Related: PR middle-end/78257 - missing memcmp optimization with constant arrays gcc/ChangeLog: PR middle-end/96665 PR middle-end/78257 * expr.c (convert_to_bytes): Replace statically allocated buffer with a dynamically allocated one of sufficient size. gcc/testsuite/ChangeLog: PR middle-end/96665 PR middle-end/78257 * gcc.dg/memcmp-5.c: New test. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/96665] [11 regression] memcmp of a constant string not folded 2020-08-17 22:45 [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 seurer at gcc dot gnu.org ` (2 preceding siblings ...) 2020-08-18 18:59 ` cvs-commit at gcc dot gnu.org @ 2020-08-18 19:00 ` msebor at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: msebor at gcc dot gnu.org @ 2020-08-18 19:00 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96665 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Summary|[11 regression] new FAILs |[11 regression] memcmp of a |for gcc.dg/strlenopt-55.c |constant string not folded |after r11-2709 | Target Milestone|--- |11.0 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Fixed in r11-2743. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-18 19:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-17 22:45 [Bug tree-optimization/96665] New: [11 regression] new FAILs for gcc.dg/strlenopt-55.c after r11-2709 seurer at gcc dot gnu.org 2020-08-18 7:19 ` [Bug tree-optimization/96665] " marxin at gcc dot gnu.org 2020-08-18 16:34 ` msebor at gcc dot gnu.org 2020-08-18 18:59 ` cvs-commit at gcc dot gnu.org 2020-08-18 19:00 ` [Bug tree-optimization/96665] [11 regression] memcmp of a constant string not folded 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).