https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110877
--- Comment #1 from Christopher Albert <albert at tugraz dot at> --- Created attachment 63877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63877&action=edit Proposed patch: fix polymorphic assignment deep copy from dummy array Polymorphic assignment from a nonpointer class dummy array was missing the vptr deep-copy path because the scalarizer loses the vptr for individual elements. This patch recovers the class vptr from the original expression when the scalarized element does not provide one. Regtested on x86_64-pc-linux-gnu.
