aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/vld1_lane-o0.c
blob: 58e0c9d14a1a136fc62a0c678ffffc6f97043bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR/63950 Test bounds checking at -O0.  */

/* { dg-options "-std=c99 -O0" } */

#include <arm_neon.h>

int
main (int argc, char **argv)
{
  int16x4_t in = vcreate_s16 (0xdeadbeef00000000ULL);
  int16_t src = 17;
  int16x4_t out = vld1_lane_s16 (&src, in, 1);
}