(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr84899.c
       1  /* PR target/84899 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O -funroll-all-loops -fno-move-loop-invariants" } */
       4  
       5  void
       6  foo (int x)
       7  {
       8    int a = 1 / x, b = 0;
       9  
      10    while ((a + b + 1) < x)
      11      b = __INT_MAX__;
      12  }