(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr58018.c
       1  /* PR tree-optimization/58018 */
       2  /* { dg-do compile } */
       3  
       4  int a, b, c, d, e;
       5  
       6  void
       7  bar (int p)
       8  {
       9    int f = b;
      10    e &= p <= (f ^= 0);
      11  }
      12      
      13  void
      14  foo ()
      15  {
      16    for (; d; d++)
      17      {
      18        bar (a && c);
      19        bar (0);
      20        bar (1);
      21      }
      22  }