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

--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 61042
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61042&action=edit
Another testcase where we want to still do the combining

My simple patch causes this case not to be done. LLVM also does not do it but I
think we should still do it as the memset here is always executed for the `r !=
nullptr` case.

Reply via email to