* gcc.dg/20000609-1.c: New test.
From-SVN: r34481
This commit is contained in:
parent
7766545930
commit
27985b669a
@ -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.
|
||||
|
20
gcc/testsuite/gcc.dg/20000609-1.c
Normal file
20
gcc/testsuite/gcc.dg/20000609-1.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user