 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- To: "Dennis Handly" <dhandly@xxxxxxxxxx>, <cxx-abi-dev@xxxxxxxxxxxxxxxx>
- Subject: Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- From: "Mark Mitchell" <mark@xxxxxxxxxxxxxxxx>
- Date: Fri, 24 Oct 2003 15:29:15 -0700
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.
----- Original Message -----
From: "Dennis Handly" <dhandly@xxxxxxxxxx>
To: <cxx-abi-dev@xxxxxxxxxxxxxxxx>
Sent: Wednesday, October 22, 2003 9:10 PM
Subject: Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
> >Is it legal to call __cxa_delete{,2,3} with a first argument of NULL?
>
> (I assume you meant __cxa_vec_delete*?)
>
> >I think it should be allowed so that the callers don't have to do the
> >NULL-test.
>
> Our versions tests inside.
>
- Prev by Date:
Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- Next by Date:
Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- Previous by thread:
Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- Next by thread:
Re: [cxx-abi-dev] __cxa_delete{,2,3}(NULL, ...) legal?
- Index(es):
|
|