This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Built-in malloc, calloc and strdup
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Roger Sayle <roger at www dot eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Apr 2003 11:32:14 -0700
- Subject: Re: [PATCH] Built-in malloc, calloc and strdup
- References: <Pine.LNX.4.44.0304130642120.19547-100000@www.eyesopen.com>
Roger Sayle <roger at www dot eyesopen dot com> writes:
> This patch adds "malloc", "calloc" and "strdup" as GCC built-in functions.
> No inlined instrinsic implementations are provided, instead the primary
> function of this patch is to associate the "malloc" attribute with each
> function's prototype. This allows us to remove the tests for these
> functions in special_function_p, and brings us another step closer to
> unification of GCC's function recognition routines.
This is OK.
zw