2 /* { dg-options "-Wno-psabi -w" } */
3 #define vector(elcount, type) \
4 __attribute__((vector_size((elcount)*sizeof(type)))) type
6 /* Check that constant folding in
7 these simple cases works. */
9 foo (vector (4, int) x
)
11 return (x
== x
) + (x
!= x
) + (x
> x
)
12 + (x
< x
) + (x
>= x
) + (x
<= x
);
16 main (int argc
, char *argv
[])
18 vector (4, int) t
= {argc
, 2, argc
, 42};
24 for (i
= 0; i
< 4; i
++)