2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43305.c
blobc8aeaf23ccc47216b4a8c96b8cc78d3383a43300
1 /* { dg-do compile } */
2 /* { dg-options "-Os -ffast-math" } */
3 extern int ilogbl(long double);
4 extern int printf(const char *format, ...);
6 __attribute__((noinline, noclone))
7 int foo(long double x)
9 return ilogbl(x);
12 int main()
14 printf("%d\n", foo(100));
15 return 0;