This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/35712] decimal float literal constant zero loses significant trailing zeroes



------- Comment #4 from janis at gcc dot gnu dot org  2008-09-18 18:35 -------
Subject: Bug 35712

Author: janis
Date: Thu Sep 18 18:33:58 2008
New Revision: 140466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140466
Log:
        Backport from mainline:
        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.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/dfp/constants-zero.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/dfp.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35712


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]