------- 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