PATCH: __cxa_vec_new[23] Change to Reflect ABI Change
Jeffrey D. Oldham
oldham@codesourcery.com
Wed Sep 10 15:48:00 GMT 2003
The attached patch changes the implementation of array creation routines
__cxa_vec_new2 and __cxa_vec_new3. These functions, specified in the
C++ ABI specification section 3.3.3, now require returning NULL if the
allocation function returns NULL. The ABI change occurred 05Sep. The
ABI is available at http://www.codesourcery.com/cxx-abi/abi.html .
2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
* libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
(__cxa_vec_new3): Likewise.
Tested on i686-pc-linux-gnu by running C++ and libstdc++ regression
tests. No new regressions occurred.
Jeffrey D. Oldham
oldham@codesourcery.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vec.09Sep.09.3.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030910/7b08c993/attachment.ksh>
More information about the Libstdc++
mailing list