]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/intrinsics/simd-gather.stderr
Rollup merge of #105410 - TaKO8Ki:fix-105257, r=BoxyUwU
[rust.git] / src / tools / miri / tests / fail / intrinsics / simd-gather.stderr
1 error: Undefined Behavior: dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
2   --> RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
3    |
4 LL |         unsafe { intrinsics::simd_gather(or, ptrs, enable.to_int()) }
5    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
6    |
7    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
9    = note: BACKTRACE:
10    = note: inside `std::simd::Simd::<i8, 4>::gather_select_unchecked` at RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
11 note: inside `main`
12   --> $DIR/simd-gather.rs:LL:CC
13    |
14 LL |         let _result = Simd::gather_select_unchecked(&vec, Mask::splat(true), idxs, Simd::splat(0));
15    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
17 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
18
19 error: aborting due to previous error
20