Broken MIR in encoding_rs related to MIR inlining + DestProp #105428
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
This was originally #105344 (comment)
Trying to compile https://github.com/hsivonen/encoding_rs
5931e21bc20bad0335964f441da0c4309401107a
with these flags:Produces this:
Removing
-Zinline-mir=yes
or-Zmir-opt-level=3
removes the ICE.searched nightlies: from nightly-2022-01-01 to nightly-2022-12-05
regressed nightly: nightly-2022-11-28
searched commit range: 80a9646...1eb62b1
regressed commit: 0e9eee6
bisected with cargo-bisect-rustc v0.6.5
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
The text was updated successfully, but these errors were encountered: