This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19351] [DR 624] operator new[] can return heap blocks which are too small
- From: "fw at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Aug 2012 21:23:09 +0000
- Subject: [Bug c++/19351] [DR 624] operator new[] can return heap blocks which are too small
- Auto-submitted: auto-generated
- References: <bug-19351-4@http.gcc.gnu.org/bugzilla/>
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.)