https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120890

--- Comment #4 from De Rycke, Dirk <Dirk.DeRycke at kla dot com> ---
(In reply to Andrew Pinski from comment #3)
> I am 99% sure the behavior here is correct as you can't delete an array of
> derivedClass via a pointer of vBaseClass. It will always delete an array of
> vBaseClass.

Please compile with GCC 11,12,13... or see the results from my runs with these
compilers in the attached zip file. So... Then 11,12,13 were incorrect ;), but
do happen to have my expected behaviour.

Reply via email to