1 /* PR rtl-optimization/16104 */
2 /* { dg-require-effective-target int32plus } */
3 /* { dg-options "-Wno-psabi" } */
5 extern void abort (void);
7 typedef int V2SI
__attribute__ ((vector_size (8)));
8 typedef unsigned int V2USI
__attribute__ ((vector_size (8)));
9 typedef short V2HI
__attribute__ ((vector_size (4)));
10 typedef unsigned int V2UHI
__attribute__ ((vector_size (4)));
15 return (long long) (V2SI
) 0LL;
27 return (V2SI
) (long long) (int) (V2HI
) 0;
33 return (V2SI
) (long long) (int) x
;
45 if (sizeof (short) != 2 || sizeof (int) != 4 || sizeof (long long) != 8)
55 union { V2SI x
; int y
[2]; V2USI z
; long long l
; } u
;
57 if (u
.y
[0] != 0 || u
.y
[1] != 0)
61 union { V2SI x
; long long y
; } v
;
68 if (u
.y
[0] != 6 || u
.y
[1] != 6)