[Bug c++/22446] Invocation of destructor of element of array changes vtable

2005-07-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 20:45 --- This is not a bug. Inside ~B() we change to the A vtable and then call ~A(). test[9-i] = b; That just calls "operator=" which does not copy the vtable which is correct. -- What|Rem

[Bug c++/22446] Invocation of destructor of element of array changes vtable

2005-07-12 Thread Forest dot Rouse at ansys dot com
--- Additional Comments From Forest dot Rouse at ansys dot com 2005-07-12 20:39 --- Created an attachment (id=9252) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9252&action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22446