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

Cannot have location_invariant before loop in witness #1391

Open
sim642 opened this issue Mar 12, 2024 · 0 comments
Open

Cannot have location_invariant before loop in witness #1391

sim642 opened this issue Mar 12, 2024 · 0 comments
Labels
bug sv-comp SV-COMP (analyses, results), witnesses

Comments

@sim642
Copy link
Member

sim642 commented Mar 12, 2024

Leftover from #1372:

Cannot have location_invariant right before loop because we have no non-loop-head node there. This meant our existing witness tests had to be changed to loop_invariants which make more sense. But our inability to have location invariants before loops could also turn out to be problematic.

int i = 0;
// we have no node here to attach i == 0 to
while (i < 10)
  i++;
@sim642 sim642 added bug sv-comp SV-COMP (analyses, results), witnesses labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug sv-comp SV-COMP (analyses, results), witnesses
Projects
None yet
Development

No branches or pull requests

1 participant