Broken MIR (debug info?) with mir-opt-level=2 #66077
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
A-testsuite
Area: The testsuite used to check the correctness of rustc
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Miri sometimes ICEs when printing the backtrace of a failure with
mir-opt-level=2
:gives
What happens here is that the following indexing operation is out-of-bounds:
rust/src/librustc_mir/interpret/eval_context.rs
Line 755 in cba9368
This looks like broken MIR to me.
(This is not a new error, but somehow it seems I did not report it when this started happening quite a while ago.)
Cc @oli-obk @eddyb @wesleywiser
The text was updated successfully, but these errors were encountered: