This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]