This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r108541 - in /branches/csl-arm-branch: ChangeLo...
- From: carlos at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2005 22:01:35 -0000
- Subject: r108541 - in /branches/csl-arm-branch: ChangeLo...
Author: carlos
Date: Wed Dec 14 22:01:32 2005
New Revision: 108541
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108541
Log:
2005-12-10 Carlos O'Donell <carlos@codesourcery.com>
* gcc/c-cppbuiltin.c (builtin_define_float_constants): Add
fp_cast parameter, pass to builtin_define_with_hex_fp_value.
Define __FLT_HAS_DENORM__, __DBL_HAS_DENORM__, __LDBL_HAS_DENORM__.
(builtin_define_with_hex_fp_value): Use fp_cast when building macro.
(c_cpp_builtins): If flag_single_precision_constant then set fp_cast to
"((double)%sL)" otherwise "%s".
* gcc/testsuite/gcc.dg/single-precision-constant.c: New test.
* include/std/std_limits.h (struct numeric_limits):
Use __FLT_HAS_DENORM__, __DBL_HAS_DENORM__, __LDBL_HAS_DENORM__.
Modified:
branches/csl-arm-branch/libstdc++-v3/include/std/std_limits.h
Changes in other areas also in this revision:
Added:
branches/csl-arm-branch/gcc/testsuite/gcc.dg/single-precision-constant.c
Modified:
branches/csl-arm-branch/ChangeLog.csl-arm
branches/csl-arm-branch/gcc/c-cppbuiltin.c