summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr27314.c
blob: d99be5eb805f42d64da1b53e3a67e95304a77b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O1 -ffast-math" } */

extern double floor (double);

inline int bar (double x)
{
  return (int) floor (x);
}

int foo (int i)
{
  return bar (i);
}