Simpler Logic Produces More Complex Output Than Equivalent Expression #139851
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
I tried these codes:
https://godbolt.org/z/sE73ocr4a
and:
I expected to see this happen:
Both expressions should produce identical assembly code:
Instead, this happened:
The first expression with simpler logic
a0 == a1 && b0 == b1
, generated more complex assembly code than expected:Thank you!
Meta
The text was updated successfully, but these errors were encountered: