summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/20000609-1.c
blob: e094bba55f72da65eebe64ef6914a7b0a3808247 (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 ilp32 } */
/* { 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;
}