[Bug other/56955] documentation for attribute malloc contradicts itself

sunfish at google dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 14 19:47:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955

--- Comment #2 from Dan Gohman <sunfish at google dot com> 2013-04-14 19:47:42 UTC ---
(In reply to comment #1)
> I think it is talking about the memory returned by malloc/calloc will not point
> to another memory location while realloc can.

I agree that's essentially what it ought to talk about, and the bug is that
it's talking about something else -- the contents of the pointed-to memory.



More information about the Gcc-bugs mailing list