x86_64 backend: @intCast
in airBitCast
failing on !PathSpace
return type
#15904
Labels
arch-x86_64
64-bit x86
backend-self-hosted
bug
Observed behavior contradicts documented or intended behavior
Milestone
Zig Version
0.11.0-dev.3324+706bdf651
Steps to Reproduce and Observed Behavior
This is a minimal reproduction of the crashes caused by #15768 (see #15768 (comment))
Output (with a debug print to print the failing
abiSize
andbitSize
):Notes:
foo
returns aPathSpace
directly (i.e. it needs the call tobar
to reproduce the problem)foo
does not return an error unionairBitCast
function is seemingly not called at all for the!PathSpace
return type in instances where the problem does not reproduce, but I could totally be wrong about thatExpected Behavior
No compiler crash
The text was updated successfully, but these errors were encountered: