gcc/
commita487a021ee4d0e5d656d2ecd481655f594e716da
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Aug 2002 21:41:55 +0000 (28 21:41 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Aug 2002 21:41:55 +0000 (28 21:41 +0000)
tree2b17511bd36a86a0261dcb0450d11f2c2c443f3a
parent057cbfd4672cbe7ab18d1b7e072d043a0fb56227
gcc/
 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>

 * c-common.c (builtin_define_type_precision): New function.
 (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
 wchar_t is unsigned in C++.
 * doc/cpp.texi (Common Predefined Macros): Document
 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.

libstdc++-v3/

2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>

    * include/std/std_limits.h (__glibcpp_char_bits,
    __glibcpp_short_bits, __glibcpp_int_bits,
    __glibcpp_long_bits,
    __glibcpp_long_long_bits, __glibcpp_float_bits,
    __glibcpp_double_bits, __glibcpp_long_double_bits):
    Remove.  Use
    compiler predifined macros.
    (__glibcpp_wchar_t_is_signed): Define based on compiler
    predefined
    __WCHAR_UNSIGNED__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56646 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/doc/cpp.texi
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/std_limits.h