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]
Other format: [Raw text]

Re: Patch to add builtin mempcpy and stpcpy


"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


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