Patch: malloc function attribute

Richard Henderson rth@cygnus.com
Mon Nov 29 19:47:00 GMT 1999


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~


More information about the Gcc-patches mailing list