[PATCH] Built-in malloc, calloc and strdup

Zack Weinberg zack@codesourcery.com
Sun Apr 13 18:32:00 GMT 2003


Roger Sayle <roger@www.eyesopen.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



More information about the Gcc-patches mailing list