This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to create builtin bcmp
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch to create builtin bcmp
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Wed, 22 Mar 2000 16:52:21 +0000
- Cc: egcs-patches at egcs dot cygnus dot com
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
ghazi@caip.rutgers.edu said:
> This patch creates a new builtin bcmp. It operates by simply
> calling builtin memcmp. This patch depends on http://gcc.gnu.org/ml/
> gcc-patches/2000-03/msg00747.html
> Bootstrapped on i686-pc-linux-gnu and sparc-sun-solaris2.7, no
> regressions. Okay to install?
BCMP and bzero aren't ANSI functions. Should we be treating them exactly
the same as memcmp? Especially when -pedantic (or whatever the option is).
R.