This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to "poison" bcmp/bzero/rindex


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]