Getting location of vector component for non-power-of-two type is broken on stage2 #12812
Labels
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
miscompilation
The compiler reports success but produces semantically incorrect code.
regression
It worked in a previous version of Zig, but stopped working.
Milestone
Zig Version
0.10.0-dev.3978+4fd4c733d
Steps to Reproduce
Expected Behavior
Output of
1 4Actual Behavior
Output of
1 2, as the second integer is shifted down by 1 bit.The text was updated successfully, but these errors were encountered: