aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/pr23268.c
blob: b5645b2974eb35a2a43fb53f9d079c4f7171c41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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);
}