(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr105528.c
       1  /* PR tree-optimization/105528 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -Wno-psabi -fcompare-debug" } */
       4  /* { dg-additional-options "-mavx512f" { target i?86-*-* x86_64-*-* } } */
       5  
       6  typedef unsigned V __attribute__((__vector_size__ (64)));
       7  V g;
       8  
       9  V
      10  bar (V v)
      11  {
      12    V w;
      13    v <<= (V){(V){}[53]} >= v & 5;
      14    w[w[5]] -= ~0;
      15    v %= ~0;
      16    return v + w;
      17  }
      18  
      19  void
      20  foo (void)
      21  {
      22    g -= (V){bar((V){~0})[3]};
      23  }