summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr21282.c
blob: 427e39385011423e47d1bbe93a3081ccef3d71e7 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O1" } */

extern double floor (double);

long foo (float f)
{
	  return (long) floor (f);
}