gcc/gcc/testsuite/gcc.dg/20000609-1.c

21 lines
296 B
C

/* { dg-do run { target i?86-*-* } } */
/* { 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;
}