https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110053
Bug ID: 110053 Summary: csmith: problems with -O1 and -O2 in same file Product: gcc Version: unknown 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 55222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55222&action=edit C source code I think there are two bugs found by the same source code file: foundBugs $ ../results/bin/gcc -w bug929.c foundBugs $ ./a.out checksum = D6B625E3 foundBugs $ ../results/bin/gcc -w -O1 bug929.c foundBugs $ ./a.out checksum = 3BB0D0B7 foundBugs $ ../results/bin/gcc -w -O2 bug929.c foundBugs $ ./a.out checksum = FBCD12E5 foundBugs $ ../results/bin/gcc -w -O2 -fno-strict-aliasing bug929.c foundBugs $ ./a.out checksum = FBCD12E5 foundBugs $ ../results/bin/gcc --version gcc (794326a744006ffe) 14.0.0 20230530 (experimental)