This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: malloc attributes and realloc
Robert Dewar <dewar@gnat.com> writes:
| Gabriel Dos Reis wrote:
|
| > Can we be back to what we want to document
| > for malloc as the title of thi thread implies?
|
| Surely you mean realloc? I don't see any discussion of
| malloc per se here. I definitely think that in the case
| of malloc, we should take the viewpoint that if a pointer
| has been freed, any reference to it is plain wrong.
We're in violent agreement here.
-- Gaby