public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/108721] New: csmith: really old bug with -O2
@ 2023-02-08 16:51 dcb314 at hotmail dot com
  2023-02-08 16:55 ` [Bug middle-end/108721] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2023-02-08 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108721
           Summary: csmith: really old bug with -O2
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 54436
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54436&action=edit
C source code

For the attached C code, generated from csmith, does this:

$ ../results/bin/gcc -w -O1 bug884.c && ./a.out
checksum = 749D4681
$ ../results/bin/gcc -w -O2 bug884.c && ./a.out
checksum = F8019D24
$ 

The bug seems to exist since sometime before 20220206, about a year ago.

$ ../results.20220206/bin/gcc -w -O2 bug884.c && ./a.out
checksum = F8019D24
$ 

The git hash for 20220206 is g:8eb329e963593342855b6072e5692659107337b7

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

end of thread, other threads:[~2023-02-16 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 16:51 [Bug c/108721] New: csmith: really old bug with -O2 dcb314 at hotmail dot com
2023-02-08 16:55 ` [Bug middle-end/108721] " pinskia at gcc dot gnu.org
2023-02-08 16:58 ` [Bug c/108721] [10/11/12/13 Regression] " jakub at gcc dot gnu.org
2023-02-15 17:24 ` [Bug middle-end/108721] " dcb314 at hotmail dot com
2023-02-16 12:07 ` jakub at gcc dot gnu.org
2023-02-16 12:31 ` 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).