rt_gccstream/gcc/testsuite/gcc.target/i386/pr23268.c

14 lines
230 B
C

/* PR target/23268 */
/* Testcase reduced by Andrew Pinski */
/* { dg-do compile } */
/* { dg-options "-O1 -ffast-math" } */
int
f (float x)
{
int a, b;
a = __builtin_log (2.f);
b = __builtin_lrint (x);
return (a + b);
}