summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr35083.c
blob: c765d325432e67ac503d1c5c1124c462a2257b32 (plain)
1
2
3
4
5
6
7
8
/* { dg-options "-O2 -mno-80387" } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */

float test (unsigned int x)
{
  return (float) x;
}