(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr106781.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -Wno-div-by-zero" } */
       3  
       4  int n;
       5  
       6  __attribute__ ((noinline, returns_twice)) static int
       7  bar (int)
       8  {
       9    n /= 0;
      10  
      11    return n;
      12  }
      13  
      14  int
      15  foo (int x)
      16  {
      17    return bar (x);
      18  }