-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Segfault from mir-opt-level >= 3 (EnumSizeOpt) #118283
Comments
I can minimize the MIR opts to:
|
EnumSizeOpt has this strange is_enabled predicate:
which I do not understand. If the pass is unsound, That logic is original to the PR where this pass was merged: #85158 where @wesleywiser said this:
So I suppose this pass has matured in-tree? |
Miri is reporting UB with or without TB on |
Oops indeed my unreduced program also has UB. I have disabled a validation I shouldn't have. Closing this issue for now |
Fuzzer generated custom MIR. Apologies I couldn't reduce it much further:
(the segfault is from the compiled program, not the compiler)
Miri reports no UB under Tree Borrows.
The text was updated successfully, but these errors were encountered: