This is the mail archive of the gcc-bugs@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]

[Bug c++/19351] operator new[] can return heap blocks which are too small



------- Comment #21 from fw at gcc dot gnu dot org  2010-05-23 11:04 -------
It turns out that the C++ committee did address this in C++0X, after rejected a
previous DR.  See section 18.6.2.2 in N3090. This seems to require an ABI
change because the size calculation can no longer happen at the call site
without much code bloat.  See
<http://gcc.gnu.org/ml/gcc/2010-05/msg00437.html>.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19351


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