x86 backend miscompilation w/ packed structs and bitwise operation #20581
Labels
arch-x86_64
64-bit x86
backend-self-hosted
bug
Observed behavior contradicts documented or intended behavior
miscompilation
The compiler reports success but produces semantically incorrect code.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.14.0-dev.616+ab4eeb770
Steps to Reproduce and Observed Behavior
I know the x86 backend isn't passing all tests yet anyway, so I'm not sure if documenting these sorts of bugs is useful or not--if not let me know! I'm just very excited about how fast my project compiles under this backend haha.
Here's a reproduction of the problem:
Expected Behavior
I expected the result of the bitwise operation to be the same in both cases.
The text was updated successfully, but these errors were encountered: