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
Broken MIR in encoding_rs related to MIR inlining + DestProp #105428
@tmiasko I am trying to understand what happened here. The test case added in #105420 looks like maybe the analysis done by DestProp is smart enough to ignore dead code and that's why it can introduce UB in dead code?
However the code at the top of this issue looks quite different. Looking at it's source, I can't see how ignoring dead code would lead to introducing overlapping calls?
Activity
Rollup merge of rust-lang#105420 - tmiasko:dest-prop-dead-code, r=Jak…
RalfJung commentedon Jan 2, 2024
@tmiasko I am trying to understand what happened here. The test case added in #105420 looks like maybe the analysis done by DestProp is smart enough to ignore dead code and that's why it can introduce UB in dead code?
However the code at the top of this issue looks quite different. Looking at it's source, I can't see how ignoring dead code would lead to introducing overlapping calls?