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]

Re: Patch: malloc function attribute


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~


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