MIPS SIZE_TYPE and PTRDIFF_TYPE revamp
Alexandre Oliva
aoliva@redhat.com
Thu Mar 7 21:55:00 GMT 2002
And here's a complement to that patch, that fixes the setting of
LONG_MAX such that it agrees with the compiler's internal notion of
the width of a long. There were some divergences, particularly when
using -mgp32 and -mlong64 together. This patch, approved by Eric
Christopher, addresses these problems, such that, on that same MIPS
port, the number of C++ failures goes down significantly, and newlib
gets a correct implementation of strchr(). It's optimized to walk the
string long by long, so an incorrect setting of LONG_MAX causes it to
fail in some corner cases, which is great.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-long-max.patch
Type: text/x-patch
Size: 4318 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020307/d63c1198/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc-patches
mailing list