summaryrefslogtreecommitdiff
path: root/src/tools/miri/tests/fail/intrinsics/simd-scatter.stderr
blob: a745b61029d15167854f18811fc87169d13193c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: Undefined Behavior: dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
  --> $DIR/simd-scatter.rs:LL:CC
   |
LL | /         Simd::from_array([-27, 82, -41, 124]).scatter_select_unchecked(
LL | |
LL | |             &mut vec,
LL | |             Mask::splat(true),
LL | |             idxs,
LL | |         );
   | |_________^ dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
   |
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at $DIR/simd-scatter.rs:LL:CC

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to previous error