blob: c8aeaf23ccc47216b4a8c96b8cc78d3383a43300 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Os -ffast-math" } */
extern int ilogbl(long double);
extern int printf(const char *format, ...);
__attribute__((noinline, noclone))
int foo(long double x)
{
return ilogbl(x);
}
int main()
{
printf("%d\n", foo(100));
return 0;
}