jasmin icon indicating copy to clipboard operation
jasmin copied to clipboard

internal compilation error

Open vbgl opened this issue 1 year ago • 0 comments

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 …

vbgl avatar Jun 07 '24 12:06 vbgl