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
Running the following program in Miri when rustc was compiled with debug assertions leads to an integer overflow:
fnmain(){assert_eq!(0i16.rotate_left(124),0);}
Relevant part of the backtrace:
12: core::panicking::panic
at src/libcore/panicking.rs:49
13: rustc_mir::interpret::intrinsics::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::emulate_intrinsic
at /home/r/src/rust/rustc/src/librustc_mir/interpret/intrinsics.rs:197
14: miri::intrinsic::EvalContextExt::call_intrinsic
at src/intrinsic.rs:20
15: <miri::Evaluator as rustc_mir::interpret::machine::Machine>::call_intrinsic
at src/lib.rs:421
16: rustc_mir::interpret::terminator::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::eval_fn_call
at /home/r/src/rust/rustc/src/librustc_mir/interpret/terminator.rs:250
17: rustc_mir::interpret::terminator::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::eval_terminator
at /home/r/src/rust/rustc/src/librustc_mir/interpret/terminator.rs:95
18: rustc_mir::interpret::step::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::terminator
at /home/r/src/rust/rustc/src/librustc_mir/interpret/step.rs:287
19: rustc_mir::interpret::step::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::step
at /home/r/src/rust/rustc/src/librustc_mir/interpret/step.rs:69
20: rustc_mir::interpret::step::<impl rustc_mir::interpret::eval_context::InterpretCx<M>>::run
at /home/r/src/rust/rustc/src/librustc_mir/interpret/step.rs:40
21: miri::eval_main::{{closure}}
at src/lib.rs:229
22: miri::eval_main
at src/lib.rs:228
The text was updated successfully, but these errors were encountered:
Running the following program in Miri when rustc was compiled with debug assertions leads to an integer overflow:
Relevant part of the backtrace:
The text was updated successfully, but these errors were encountered: