This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR19351, C++] Fix heap overflow in operator new[]
On Wed, Feb 10, 2010 at 4:05 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> maybe even the constructor/destructor calls
> across the freshly-created array
There is already a function in the C++ ABI to do that part but we
don't use it currently. And sometimes it increases code size if the
function that would have been called is empty.
Thanks,
Andrew Pinski