aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/20000609-1.c
blob: a083a5d53adfb6a10c27498f8da52b69db6444a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do run } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O1 -ffast-math -march=i686" } */


/* Sanity check for fp_jcc_* with TARGET_CMOVE.  */

extern void abort (void);

static int test(double a)
{
  if (a)
    return 0;
}

static double zero = 0.0;

int main ()
{
  test (zero);
  return 0;
}