Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCT checker too coarse with stack arguments #852

Closed
vbgl opened this issue Jun 27, 2024 · 0 comments · Fixed by #853
Closed

SCT checker too coarse with stack arguments #852

vbgl opened this issue Jun 27, 2024 · 0 comments · Fixed by #853

Comments

@vbgl
Copy link
Member

vbgl commented Jun 27, 2024

This is a regression introduced in #847. The following program is no longer accepted by the SCT checker.

inline
fn reset(stack u64 t) {
  [t] = 0;
}

export
fn main(reg u64 x) {
  _ = #init_msf();
  stack u64 s;
  s = x;
  reset(s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant