You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeadStoreElimination can create calls where return and arguments overlap #162997
DeadStoreElimination wants to turn copy arguments into move arguments, but that transformation is not always valid. The pass does not account for this case:
_1 = f(copy _1);
but we also need a callee with codegen that clearly relies on the return place and argument not overlapping. This works, but uses custom_mir for both:
Activity
rustbot commentedon Sep 21, 2026
Assigning P-medium (discussion on Zulip).
rustbot commentedon Sep 21, 2026
Assigning P-high (discussion on Zulip)
Rollup merge of rust-lang#162998 - saethlin:dse-ret-is-arg, r=oli-obk
Rollup merge of rust-lang#162998 - saethlin:dse-ret-is-arg, r=oli-obk
Rollup merge of rust-lang#162998 - saethlin:dse-ret-is-arg, r=oli-obk
Rollup merge of rust-lang#162998 - saethlin:dse-ret-is-arg, r=oli-obk
Unrolled build for #162998 in rollup 163157
saethlin commentedon Sep 22, 2026
Fixed by #162998