public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/115766] New: [12/13/14 Regression] wrong code at optimization levels -O2, -O3
@ 2024-07-03  9:42 bic60176 at gmail dot com
  2024-07-03 10:21 ` [Bug tree-optimization/115766] " xry111 at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bic60176 at gmail dot com @ 2024-07-03  9:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115766
           Summary: [12/13/14 Regression] wrong code at optimization
                    levels -O2, -O3
           Product: gcc
           Version: 12.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 58579
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58579&action=edit
testcase

OS: Ubuntu 22.04.3 LTS
We found that there are discrepancies when compiling with gcc-14.1.0,
gcc-13.2.0, gcc-12.3.0 at optimization levels -O2 and -O3.

$ ../compiler-builds/gcc-12.3.0_build/bin/gcc -fsanitize=undefined
-fsanitize=address -g -lgcc_s -I/home/csmith/include/csmith-2.3.0 -O2
testcase.c -o exec

$ timeout 1s ./exec 2>exec.err
checksum = 3BA9B585

$ ../compiler-builds/gcc-12.3.0_build/bin/gcc -fsanitize=undefined
-fsanitize=address -g -lgcc_s -I/home/csmith/include/csmith-2.3.0 -O0
testcase.c -o exec

$ timeout 1s ./exec 2>exec.err
checksum = 8861541D

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

end of thread, other threads:[~2024-07-19 15:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03  9:42 [Bug tree-optimization/115766] New: [12/13/14 Regression] wrong code at optimization levels -O2, -O3 bic60176 at gmail dot com
2024-07-03 10:21 ` [Bug tree-optimization/115766] " xry111 at gcc dot gnu.org
2024-07-03 10:28 ` bic60176 at gmail dot com
2024-07-03 12:28 ` rguenth at gcc dot gnu.org
2024-07-15  8:18 ` bic60176 at gmail dot com
2024-07-15  8:20 ` bic60176 at gmail dot com
2024-07-15  8:20 ` bic60176 at gmail dot com
2024-07-17  4:06 ` sjames at gcc dot gnu.org
2024-07-17  6:49 ` bic60176 at gmail dot com
2024-07-17  7:09 ` sjames at gcc dot gnu.org
2024-07-18  6:59 ` bic60176 at gmail dot com
2024-07-18  7:03 ` bic60176 at gmail dot com
2024-07-19 15:03 ` [Bug tree-optimization/115766] [12/13/14/15 " jakub 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).