1 /* { dg-options "-Wno-psabi" } */
2 extern void abort (void);
4 typedef int V2SI
__attribute__ ((vector_size (8)));
5 typedef unsigned int V2USI
__attribute__ ((vector_size (8)));
6 typedef short V2HI
__attribute__ ((vector_size (4)));
7 typedef unsigned int V2UHI
__attribute__ ((vector_size (4)));
12 return (V2USI
) (V2SI
) (long long) x
;
18 return (long long) (V2USI
) (V2SI
) (long long) x
;
24 if (sizeof (short) != 2 || sizeof (int) != 4 || sizeof (long long) != 8)
27 union { V2SI x
; int y
[2]; V2USI z
; long long l
; } u
;
30 if (u
.y
[0] != -3 || u
.y
[1] != -3)
34 if (u
.y
[0] != -3 || u
.y
[1] != -3)