1 #include <arm_neon.h> 2 3 /* { dg-do compile } */ 4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */ 5 /* { dg-skip-if "" { arm*-*-* } } */ 6 7 int64x2x4_t f_vld4q_lane_s64(int64_t * p,int64x2x4_t v)8f_vld4q_lane_s64 (int64_t * p, int64x2x4_t v) 9 { 10 int64x2x4_t res; 11 /* { dg-error "lane 2 out of range 0 - 1" "" { target *-*-* } 0 } */ 12 res = vld4q_lane_s64 (p, v, 2); 13 /* { dg-error "lane -1 out of range 0 - 1" "" { target *-*-* } 0 } */ 14 res = vld4q_lane_s64 (p, v, -1); 15 return res; 16 } 17