jasmin
jasmin copied to clipboard
internal compilation error
The following program should be rejected with a nice error message (which one?); it currently crashes.
inline fn aux(reg u8 x) -> inline int {
inline int r;
if x == 0 { r = 0; }
return r;
}
export fn main() -> reg u8 {
inline int t;
reg u8 f;
t = aux(0);
f = t;
return f;
}
"bug_828.jazz", line 3 (14-20) from line 10 (2-13): internal compilation error: AT_inline flag remains in instruction: r = 0; /* int:i */ Please report …