PATCH: Fix integer/pointer size mismatch in splay-tree.h
Tue Mar 13 09:48:00 GMT 2007
DJ Delorie <email@example.com>
Re: PATCH: Fix integer/pointer size mismatch in splay-tree.h
>> As to see, this patch is obvious. Sorry, that I posted it first to
>> the wrong news group.
>Patches which change a public API are *never* obvious. This one in
>particular is incorrect on m32c, for example, where size_t is smaller
Ok, not obvious, but obviously wrong for targets with type long less than
a pointer size. By the reason that GTY is used for this type, an #if -
clause won't help.
What's to do in your opinion ? May introducing eg. in ansidecl.h (but of
course it is not really an ansi issue) a type with the size
More information about the Gcc-patches