]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/39902 (x * 1.0DF gets wrong value)
authorJanis Johnson <janis187@us.ibm.com>
Mon, 3 Aug 2009 21:47:39 +0000 (21:47 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Mon, 3 Aug 2009 21:47:39 +0000 (21:47 +0000)
commitd2755f1914621c8571269376724543bbe0f5a913
tree06ed7a7b6044d035643cf2c6ae1af5778008eca5
parentaa3777b7b05aba7756b30c6a441ad6fc01a9265f
re PR c/39902 (x * 1.0DF gets wrong value)

PR c/39902
* tree.c (real_zerop, real_onep, real_twop, real_minus_onep):
Special-case decimal float constants.
* gcc.dg/dfp/pr39902.c: New test.

From-SVN: r150385
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr39902.c [new file with mode: 0644]
gcc/tree.c