(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr93491.c
       1  /* { dg-do run } */
       2  
       3  extern void exit (int);
       4  
       5  __attribute__((noipa))
       6  void f(int i)
       7  {
       8    exit(i);
       9  }
      10  
      11  __attribute__((const,noipa))
      12  int g(int i)
      13  {
      14    return 1 / i;
      15  }
      16  
      17  int main()
      18  {
      19    while (1)
      20      {
      21        f(0);
      22        f(g(0));
      23      }
      24  }