(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
vect-mixed-size-cond-1.c
       1  /* { dg-do compile } */
       2  
       3  int
       4  f (unsigned char *restrict x, short *restrict y)
       5  {
       6    for (int i = 0; i < 100; ++i)
       7      {
       8        unsigned short a = (x[i] + 11) >> 1;
       9        unsigned short b = (x[i] + 42) >> 2;
      10        unsigned short cmp = y[i] == 0 ? a : b;
      11        int res = cmp + 1;
      12        x[i] = res;
      13      }
      14  }