https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87095
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|marxin at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 44616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44616&action=edit gcc9-pr87095.patch Full patch I'm going to bootstrap/regtest. The convert_to_void is IMHO desirable so that the gimplifier doesn't try to read from the vptr again and store it into a dead temporary, if it is conditional. build_clobber_this doesn't need that, as the MODIFY_EXPR it creates already has void type.