This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to add builtin mempcpy and stpcpy
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Apr 2003 12:00:43 -0700
- Subject: Re: Patch to add builtin mempcpy and stpcpy
- References: <200304120341.XAA15220@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu> writes:
> This patch adds two new builtins, mempcpy and stpcpy. These builtin
> functions are added as the "extension" type, like alloca, bzero, etc.
>
> The transformations for these two are the same as those for memcpy and
> strcpy except the return values for these are different as commonly
> defined in glibc et al.
>
> Bootstrapped on sparc-sun-solaris2.7, no regressions. And the new
> testcase passes.
This is OK.
zw