1 /* { dg-do compile } */
2
3 typedef unsigned char __attribute__((vector_size(4))) uvec;
4
main(int argc,char * argv[])5 int main (int argc, char *argv[]) {
6 int i;
7 int x = 0;
8 uvec uc0 = (uvec) {argc, 1, 2, 10};
9 unsigned char uc1[4] = {0, 3, 2, 200};
10 signed char ucg[4] = {1, 0, 0, 0 };
11 signed char ucl[4] = {0, 1, 0, 1 };
12
13 #define uc0_ ((unsigned char *)&uc0)
14
15 for (i = 0; i < 4; i ++) {
16 x |= ucg[i] != (uc0_[i] > uc1[i]);
17 x |= ucl[i] != (uc0_[i] < uc1[i]);
18 }
19 return x;
20 }
21
22