-
Notifications
You must be signed in to change notification settings - Fork 108
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
Escaped pointers have non-deterministic address #954
Comments
This is a tricky case. The assume is wrong because you cannot force the comparison to go to one way in the target. You would have to place it in the src program. Hope this explanation makes sense. |
That makes sense. Though, at first I had a But yes, very tricky; wouldn't be surprised if I've missed something here too; it's also hitting inter-procedural stuff. |
You're right. That second example shouldn't verify for the exact reason you mention. |
merge into #1113 |
Potentially I'm not understanding alive2's intended behavior, but this:
(alive2.llvm.org) is reported as correct, but uncommenting the commented-out assume results in it finding a case of
%cmp == 1
even though before it reported%cmp
→0
as a valid transformation.The text was updated successfully, but these errors were encountered: