PR116019: Improve tail call error message
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld4q_lane_f16_indices_1.c
blob53d4a3e7c12e5543ea3c63f1623160abadea93df
1 #include <arm_neon.h>
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
5 /* { dg-require-effective-target arm_neon_fp16_ok { target { arm*-*-* } } } */
7 float16x8x4_t
8 f_vld4q_lane_f16 (float16_t * p, float16x8x4_t v)
10 float16x8x4_t res;
11 /* { dg-error "lane 8 out of range 0 - 7" "" { target *-*-* } 0 } */
12 res = vld4q_lane_f16 (p, v, 8);
13 /* { dg-error "lane -1 out of range 0 - 7" "" { target *-*-* } 0 } */
14 res = vld4q_lane_f16 (p, v, -1);
15 return res;