This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: malloc function attribute
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch: malloc function attribute
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 29 Nov 1999 19:47:25 -0800
- Cc: green at cygnus dot com, law at cygnus dot com, gcc-patches at gcc dot gnu dot org
- References: <199911290635.BAA01815@caip.rutgers.edu>
On Mon, Nov 29, 1999 at 01:35:14AM -0500, Kaveh R. Ghazi wrote:
> QUESTION: should realloc and similar functions which could possibly
> return the same pointer more than once have this attribute?
No. The attribute means "the function returns new unaliased storage".
r~