(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr61583.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fcompare-debug" } */
       3  
       4  void
       5  f1 (int n, int b)
       6  {
       7    extern void f2 (int);
       8    int j;
       9  
      10    if (b)
      11      n = 1;
      12  
      13    if (n < 1)
      14      __builtin_unreachable ();
      15  
      16    for (j = 0; j < n; j++)
      17      f2 (j);
      18  }