Commit ef5eb689 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix: consider functions with assertions/assumptions/errors impure

I had some doubts as to the semantics of this when I omitted these constructs to
begin with, but it was confirmed by GCC ≥ 4.7 leveraging this to make
model-breaking optimisations. We now conservatively consider any property
statement or error statement to be an indicator of impurity.
parent 02bb54b3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment