* gcc.dg/20000609-1.c: New test.

From-SVN: r34481
This commit is contained in:
Clinton Popetz 2000-06-10 02:57:20 +00:00 committed by Clinton Popetz
parent 7766545930
commit 27985b669a
2 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Jun 9 21:54:28 2000 Clinton Popetz <cpopetz@cygnus.com>
* gcc.dg/20000609-1.c: New test.
2000-06-08 Zack Weinberg <zack@wolery.cumb.org>
* gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.

View File

@ -0,0 +1,20 @@
/* { 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;
}