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