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] Built-in malloc, calloc and strdup


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


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