This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
It looks like gcc assumes a functon marked with DECL_IS_MALLOC won't return an address which can alias something else. But it isn't true for realloc. Now, the qestions are
1. Can gcc make such an assumption? 2. Can realloc be marked as DECL_IS_MALLOC.
BTW, glibc also marks realloc with __attribute_malloc__.
HTH, - Tobi
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |