OSDN Git Service

gcc/
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2009 19:02:41 +0000 (19:02 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2009 19:02:41 +0000 (19:02 +0000)
commit0c87fb2bac12c51b593a6196dc17aa0b9a0aba7b
tree093f146d6705962c90265309fe92cd0dc9fd825e
parent710ab45a38393276b00bbd0d8650f9d4432ca21d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143128 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-cppbuiltin.c
gcc/ginclude/float.h
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/decfloat-constants.c