This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Add strndup builtin attributes
- From: Roger Sayle <roger at eyesopen dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Mar 2005 17:45:53 -0700 (MST)
- Subject: Re: [PATCH]: Add strndup builtin attributes
On Fri, 25 Mar 2005, Kaveh R. Ghazi wrote:
> 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * builtin-types.def (BT_FN_STRING_CONST_STRING_SIZE): New.
> * builtins.def (BUILT_IN_STRNDUP): New.
>
> testsuite:
> * gcc.dg/nonnull-3.c: Also test __builtin_strndup.
This is OK for mainline. Thanks.
Roger
--