(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr108688.c
       1  /* PR tree-optimization/108688 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fno-tree-pre -fno-tree-fre -fno-tree-dominator-opts -fno-tree-loop-im -fno-code-hoisting" } */
       4  
       5  union U { signed int d : 7; signed int e : 2; } u;
       6  int a, b;
       7  
       8  void
       9  foo (void)
      10  {
      11    for (int i = 0; i < 64; i++)
      12      {
      13        u.d = a;
      14        u.d ^= b;
      15      }
      16  }