(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr43305.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-Os -ffast-math" } */
       3  extern int ilogbl(long double);
       4  extern int printf(const char *format, ...);
       5  
       6  __attribute__((noinline, noclone))
       7  int foo(long double x)
       8  {
       9    return ilogbl(x);
      10  }
      11  
      12  int main()
      13  {
      14    printf("%d\n", foo(100));
      15    return 0;
      16  }