This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dtor pointers in ctor vtables
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Subject: Re: dtor pointers in ctor vtables
- From: Jason Merrill <jason_merrill at redhat dot com>
- Date: 11 Jun 2001 19:24:13 +0100
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- References: <3B24E416.5CDF0B61@codesourcery.com>
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
> It's not permissible to destruct the object inside a base class constructor
It doesn't make sense, but I don't see where it's prohibited.
> (you'd call the wrong destructor anyway). As an aid to debugging, why
> not simply use __cxa_pure_virtual? This patch does that. I don't think
> this is really an ABI change, as the case is ill-formed.
Is it?
Jason