You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fish: “zig build-exe t.zig” terminated by signal SIGSEGV (Address boundary error)
Explicitly specifying the input operand width fixes the issue:
const in: u32 = 5;
Should suffice to omit a compile error on comptime_int given as a parameter. I know there is a lot of changes and improvements to the inline assembly system wanted anyway, so this isn't too important and can be left until #215 is decided.
The text was updated successfully, but these errors were encountered:
tiehuis
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Jul 7, 2018
tiehuis
changed the title
SIGSEGV on inline assembly comptime_int with inline assembly input operand
SIGSEGV on comptime_int used as inline assembly input operand
Jul 7, 2018
Crashes with:
Explicitly specifying the input operand width fixes the issue:
Should suffice to omit a compile error on comptime_int given as a parameter. I know there is a lot of changes and improvements to the inline assembly system wanted anyway, so this isn't too important and can be left until #215 is decided.
The text was updated successfully, but these errors were encountered: