Re: [PATCH] __attribute_malloc__ for malloc-like functions
| From: | Sascha Schumann | Date: | Thu, 28 Aug 2003 05:55:18 +0000 |
| Subject: | Re: [PATCH] __attribute_malloc__ for malloc-like functions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4218@lists.php.net to get a copy of this message | ||
> I expect the effect to be significant, though, because (as I pointed
> out) the void* return-type of [e]malloc() causes it to alias with every
> pointer variable in scope, which severely limits the applicability of
> certain GCC optimizations.
attribute((malloc)) is now enabled in CVS. Note that
erealloc was excluded.
http://news.php.net/article.php?group=php.zend-engine.cvs&article=1711
http://news.php.net/article.php?group=php.zend-engine.cvs&article=1712
- Sascha