https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057
Ng YongXiang <yongxiangng at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yongxiangng at gmail dot com --- Comment #7 from Ng YongXiang <yongxiangng at gmail dot com> --- Created attachment 55256 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55256&action=edit Arrays should do non virtual lookup when destructing individual elements This is a draft patch outlining a possible solution to call non virtual destructor of elements when arrays are destructed (clang already does this, see https://godbolt.org/z/f33Gh5EGM).