-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Fix #78192 #78247
Fix #78192 #78247
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
r? @oli-obk who's more familiar with the nuance here. |
While this does fix the bug, I'm not very happy with making the logic in this optimization more complex. I still think we should make this optimization work without backtracking, in which case it would be trivial to bail out when encountering |
I have a branch locally with this optimization without backtracking. I can't guarantee when I will have time to finish it though. Should we create a issue to track the no-backtracking implementation, and move forward with the current pr? |
Yea, an issue tracking it would be great. Merging this is ok imo with a fix somewhere on the horizon. @bors r+ |
📌 Commit 57d01a9 has been approved by |
Created issue #78368 to track the work on a non-backtracking implementation |
Fix rust-lang#78192 Check which places are marked dead. Fixes rust-lang#78192
Fix rust-lang#78192 Check which places are marked dead. Fixes rust-lang#78192
Fix rust-lang#78192 Check which places are marked dead. Fixes rust-lang#78192
Rollup of 10 pull requests Successful merges: - rust-lang#74477 (`#[deny(unsafe_op_in_unsafe_fn)]` in sys/wasm) - rust-lang#77836 (transmute_copy: explain that alignment is handled correctly) - rust-lang#78126 (Properly define va_arg and va_list for aarch64-apple-darwin) - rust-lang#78137 (Initialize tracing subscriber in compiletest tool) - rust-lang#78161 (Add issue template link to IRLO) - rust-lang#78214 (Tweak match arm semicolon removal suggestion to account for futures) - rust-lang#78247 (Fix rust-lang#78192) - rust-lang#78252 (Add codegen test for rust-lang#45964) - rust-lang#78268 (Do not try to report on closures to avoid ICE) - rust-lang#78295 (Add some regression tests) Failed merges: r? `@ghost`
#78195 is already beta-accepted, so removing the backport nomination from this PR. It would reintroduce the unsoundness as mentioned here: #78192 (comment). |
Check which places are marked dead.
Fixes #78192