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

Enforce loop invariants #4

Open
riftEmber opened this issue Oct 5, 2020 · 2 comments
Open

Enforce loop invariants #4

riftEmber opened this issue Oct 5, 2020 · 2 comments
Assignees

Comments

@riftEmber
Copy link
Member

riftEmber commented Oct 5, 2020

If a data space is accessed in the condition of a for stmt, it cannot be written to inside that compound statement.

@riftEmber riftEmber self-assigned this Oct 5, 2020
@riftEmber
Copy link
Member Author

Closed by 1f60fbe

@riftEmber riftEmber reopened this Oct 6, 2020
@riftEmber riftEmber reopened this Oct 6, 2020
@riftEmber
Copy link
Member Author

riftEmber commented Oct 6, 2020

Is this the only restriction we need, or are there more invariance requirements?
Update: Data spaces accessed in initializer must also be made invariant -- what about increment?

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