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

Consider not allowing fn ptr comparison #463

Closed
RalfJung opened this issue Oct 1, 2018 · 1 comment
Closed

Consider not allowing fn ptr comparison #463

RalfJung opened this issue Oct 1, 2018 · 1 comment
Labels
C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement

Comments

@RalfJung
Copy link
Member

RalfJung commented Oct 1, 2018

Function pointer comparison is non-deterministic in practice: rust-lang/rust#54685. So maybe miri shouldn't allow it.

@RalfJung RalfJung changed the title Consider not allow fn ptr comparison Consider not allowing fn ptr comparison Oct 15, 2018
@RalfJung RalfJung added the C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement label Nov 17, 2018
@RalfJung
Copy link
Member Author

Fixed by #574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement
Projects
None yet
Development

No branches or pull requests

1 participant