This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34252] DEC32_MIN_EXP, DEC32_MAX_EXP don't match TR 24732
- 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: 6 Jan 2009 19:02:58 -0000
- Subject: [Bug c/34252] DEC32_MIN_EXP, DEC32_MAX_EXP don't match TR 24732
- References: <bug-34252-15440@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-01-06 19:02 -------
Subject: Bug 34252
Author: janis
Date: Tue Jan 6 19:02:41 2009
New Revision: 143128
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143128
Log:
gcc/
PR c/34252
* ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
* real.c (decimal_single_format): Correct values of emin and emax.
(decimal_double_format): Ditto.
(decimal_quad_format): Ditto.
* c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
computation of DECnn_MIN and DECnn_MAX for corrected values of
emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of
__DECnn_MIN__, and adjust its computation for the corrected value
of emin.
gcc/testsuite/
PR c/34252
* gcc.dg/dfp/decfloat-constants.c: Check for DECnn_SUBNORMAL_MIN
instead of DECnn_DEN. Support -DDBG to list lines that fail.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-cppbuiltin.c
trunk/gcc/ginclude/float.h
trunk/gcc/real.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34252