(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr51247.c
       1  /* PR tree-optimization/51247 */
       2  
       3  struct S { int s : 1; };
       4  int a;
       5  
       6  void
       7  foo (int x, int y)
       8  {
       9    struct S s;
      10    s.s = !!y;
      11    while (1)
      12      {
      13        unsigned l = 94967295;
      14        a = x || (s.s &= l);
      15      }
      16  }