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

Failure("TODO rearrange_start_inequality at 6:25") #6

Closed
yav opened this issue Oct 23, 2024 · 1 comment
Closed

Failure("TODO rearrange_start_inequality at 6:25") #6

yav opened this issue Oct 23, 2024 · 1 comment

Comments

@yav
Copy link

yav commented Oct 23, 2024

The following program causes a crash:

void preserve(int size, int *p)
/*@
requires
  take a1 = each(u64 i; i < (u64)size) { Owned<int>(array_shift<int>(p,i)) };
ensures
  take a2 = each(u64 i; i < (u64)size) { Owned<int>(array_shift<int>(p,i)) };
@*/
{
}

Output:

cn: internal error, uncaught exception:
    Failure("TODO rearrange_start_inequality at 6:25")
    Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
    Called from Cn__Cn_internal_to_ail.generate_start_expr in ...

CN version: 53c1e48

@yav
Copy link
Author

yav commented Nov 7, 2024

Moved to rems-project#689 in main repo

@yav yav closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant