aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr22585.c
blob: e5f027ce862e78c5c770abad24181d8e652c174f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/22585 */
/* Testcase reduced by Volker Reichelt */
/* { dg-do compile } */
/* { dg-options "-march=i386 -O -ffast-math" } */
/* { dg-require-effective-target ia32 } */

int
foo (long double d, int i)
{
  if (d == (long double) i)
    return 1;
}