diff options
author | Jeff Law <law@redhat.com> | 2004-06-10 21:22:30 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2004-06-10 21:22:30 -0600 |
commit | 3100d647250b4209a601763e7887936d25899f3f (patch) | |
tree | 1f7da268e22cc234d32ba6f2a4c85f419a465a4d /gcc/testsuite/gcc.c-torture | |
parent | da291c876347aad7c585d2a7fe8a463af74dd422 (diff) | |
download | gcc-3100d647250b4209a601763e7887936d25899f3f.zip gcc-3100d647250b4209a601763e7887936d25899f3f.tar.gz gcc-3100d647250b4209a601763e7887936d25899f3f.tar.bz2 |
fold-const.c (fold_inf_compare): Avoid creating non-gimple code when we are in gimple form.
* fold-const.c (fold_inf_compare): Avoid creating non-gimple
code when we are in gimple form.
* gcc.c-torture/compile/20040610-1.c: New test.
From-SVN: r82958
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20040610-1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040610-1.c b/gcc/testsuite/gcc.c-torture/compile/20040610-1.c new file mode 100644 index 0000000..37fb65c --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20040610-1.c @@ -0,0 +1,5 @@ +int foo (float x) +{ + float i = __builtin_inff (); + return x != i; +} |