public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/100653] New: usage of scalar_storage_order produces incorrect result
@ 2021-05-18 15:23 jan.smets at nokia dot com
  2021-05-19  1:14 ` [Bug tree-optimization/100653] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jan.smets at nokia dot com @ 2021-05-18 15:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100653
           Summary: usage of scalar_storage_order produces incorrect
                    result
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.smets at nokia dot com
  Target Milestone: ---

Created attachment 50840
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50840&action=edit
scalar_storage_order test case

Attached test case produces invalid results with -O2, good with -O1.

Known to fail : 11.1 10.3 9.3 8.5 7.5
Known to work: 6.5 
Target: x86_64-linux-gnu

$ gcc test.c -o /tmp/test -O2 -Wall -Wextra && /tmp/test
a0a1e01 EQ? 11e0a0a 0
$ gcc test.c -o /tmp/test -O1 -Wall -Wextra && /tmp/test
a0a1e01 EQ? a0a1e01 1

Thank you

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

end of thread, other threads:[~2021-06-15 16:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 15:23 [Bug tree-optimization/100653] New: usage of scalar_storage_order produces incorrect result jan.smets at nokia dot com
2021-05-19  1:14 ` [Bug tree-optimization/100653] " pinskia at gcc dot gnu.org
2021-05-26 10:49 ` ebotcazou at gcc dot gnu.org
2021-05-26 12:36 ` jan.smets at nokia dot com
2021-05-26 12:45 ` ebotcazou at gcc dot gnu.org
2021-05-26 13:04 ` ebotcazou at gcc dot gnu.org
2021-05-26 17:14 ` [Bug c/100653] " cvs-commit at gcc dot gnu.org
2021-05-26 22:26 ` cvs-commit at gcc dot gnu.org
2021-05-27 19:29 ` pinskia at gcc dot gnu.org
2021-06-15 15:49 ` george.thopas at gmail dot com
2021-06-15 16:42 ` ebotcazou 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).