Patch to "poison" bcmp/bzero/rindex

Richard Henderson rth@redhat.com
Sun Nov 12 14:43:00 GMT 2000


On Sun, Nov 12, 2000 at 05:37:52PM -0500, Kaveh R. Ghazi wrote:
> +#if GCC_VERSION >= 2097

Why?  Trying to figure out if "GCC poison" exists?

> +#ifndef memset
> + #pragma GCC poison bzero
> +#endif

This makes this patch useless on glibc systems, which is probably
where the bulk of development is done.  Undefining the symbol is
almost better, but frankly I wouldn't worry about it at all.


r~


More information about the Gcc-patches mailing list