[cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?

Mark Mitchell mark at codesourcery.com
Mon Nov 3 07:08:35 UTC 2003


On Fri, 2003-10-24 at 15:29, Mark Mitchell wrote:
> Scott, Dennis --
> 
> The short answer is that the ABI does not really specify the behavior of
> these functions when the first argument is NULL.
> 
> The G++ runtime does not presently permit the first argument to be NULL.
> Changing that would be OK; it's backwards compatible.
> 
> If there's no objection, we can update the specification to indicate that
> the "array_address" parameter may be NULL.

Since nobody objected, I committed the attached change.

-- 
Mark Mitchell <mark at codesourcery.com>
CodeSourcery, LLC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs
Type: text/x-patch
Size: 3600 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20031102/59ec7f51/attachment.bin>


More information about the cxx-abi-dev mailing list