re PR c/35712 (decimal float literal constant zero loses significant trailing zeroes)
authorJanis Johnson <janis187@us.ibm.com>
Thu, 3 Apr 2008 23:49:35 +0000 (23:49 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 3 Apr 2008 23:49:35 +0000 (23:49 +0000)
commit6db07dcbf61e96be4fbaf9b4c6f9aea19cff61b2
tree204d2542b8154752ec21e713ddd9b4423580e3df
parent79addd1f3581896333c5437c10ae7a5202acc2ae
re PR c/35712 (decimal float literal constant zero loses significant trailing zeroes)

2008-04-03  Janis Johnson  <janis187@us.ibm.com>

gcc/
PR c/35712
* dfp.c (decimal_from_decnumber): Retain trailing zeroes for
  decimal-float literal constant zero.

testsuite/
PR c/35712
* gcc.dg/dfp/constants-zero.c: New test.

From-SVN: r133881
gcc/ChangeLog
gcc/dfp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/constants-zero.c [new file with mode: 0644]