(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vec-andxor1.c
       1  /* { dg-do run } */
       2  /* { dg-options "-O" } */
       3  
       4  typedef int vec __attribute__((vector_size(4*sizeof(int))));
       5  
       6  __attribute__((noinline,noclone))
       7  void f (vec *x) {
       8    *x = (*x & 1) ^ 1;
       9  }
      10  
      11  int main() {
      12    vec x = { 1, 2, 3, 4 };
      13    f(&x);
      14    if (x[0] != 0 || x[1] != 1)
      15      __builtin_abort();
      16    return 0;
      17  }