This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: __cxa_vec_new[23] Change to Reflect ABI Change
Gerald Pfeifer wrote:
On Wed, 10 Sep 2003, Jeffrey D. Oldham wrote:
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.
Should this be mentioned in gcc-3.4/changes.html? If so, would you mind
doing that?
Thanks,
Gerald
wwwdocs/htdocs/gcc-3.4/changes.html has been patched per Gerald
Pfeifer's request to list this change.
2003-09-11 Jeffrey D. Oldham <oldham@codesourcery.com>
* changes.html (C++): __cxa_vec_new[23]'s interface changed in
both the C++ ABI specification and the libstdc++.
Tested using Mozilla 1.4 under !Windows 2000!.
Approved by Gerald Pfeifer.
Jeffrey D. Oldham
oldham@codesourcery.com
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.4/changes.html,v
retrieving revision 1.46
diff -c -p -r1.46 changes.html
*** changes.html 10 Sep 2003 04:54:05 -0000 1.46
--- changes.html 11 Sep 2003 17:44:43 -0000
***************
*** 208,213 ****
--- 208,221 ----
(char)a = 5;
</pre>
<p>is no longer accepted.</p></li>
+
+ <li>The C++ ABI Section 3.3.3 specifications for the array
+ construction routines <code>__cxa_vec_new2</code> and
+ <code>__cxa_vec_new3</code> were changed to return
+ <code>NULL</code> when the allocator argument returns
+ <code>NULL</code>. These changes are incorporated into the
+ libstdc++ runtime library.</li>
+
</ul>
<h3>Objective-C</h3>