https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-11-07 CC| |ebotcazou at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Producing the memset upfront probably generates better code for all cases, > even if the frontend code is a little more complicated. FWIW that's what the Ada front-end does in similar cases.