]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/39035 (if( 0.0DF ) is considered true)
authorJanis Johnson <janis187@us.ibm.com>
Fri, 6 Feb 2009 21:01:46 +0000 (21:01 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Fri, 6 Feb 2009 21:01:46 +0000 (21:01 +0000)
commit90ef229674991eae3daa1a066d4608ffe146e3ad
tree48c2fa1417f3cc8b1103a20746052eb2deaa3219
parent4c51d57f4961ab2cab9a5772321c64cb04bf9412
re PR c/39035 (if( 0.0DF ) is considered true)

PR c/39035
* real.c (do_compare): Special-case compare of zero against
decimal float value.

* gcc.dg/dfp/pr39035.c: New test.

From-SVN: r143992
gcc/ChangeLog
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr39035.c [new file with mode: 0644]