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

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 20 21:26:00 GMT 2012


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

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |fweimer at redhat dot com
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0

--- Comment #28 from Florian Weimer <fw at gcc dot gnu.org> 2012-08-20 21:23:09 UTC ---
This is the best we can do without an ABI change.  (Expanding inline the code
to throw std::bad_array_new_length, as required by C++11, is a bit too messy.)



More information about the Gcc-bugs mailing list