This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: std_limits.h os_defines.h
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: std_limits.h os_defines.h
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 09 Aug 2001 22:06:44 -0400
- cc: Mark Mitchell <mark at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
>>>>> Benjamin Kosnik writes:
Ben> Please make sure that what every you come up with allows
Ben> newlib-based cross compilers to work (ie, test on x86-linux cross
Ben> powerpc-eabism)
May I point out that limits_generic.h has incorrect information
for powerpc-eabism? PowerPC defaults to unsigned char, but
limits_generic.h always reports signed char. There are lots of corner
cases like this where limits_generic.h appears to work, but really reports
incorrect information.
David