This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39902] x * 1.0DF gets wrong value
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2009 17:13:46 -0000
- Subject: [Bug c/39902] x * 1.0DF gets wrong value
- References: <bug-39902-17245@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from janis at gcc dot gnu dot org 2009-06-29 17:13 -------
Subject: Bug 39902
Author: janis
Date: Mon Jun 29 17:13:33 2009
New Revision: 149058
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149058
Log:
PR c/39902
* tree.c (real_zerop, real_onep, real_twop, real_minus_onep):
Special-case decimal float constants.
PR c/39902
* gcc.dg/dfp/pr39902.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/dfp/pr39902.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39902