https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #18 from dongkyun.s at samsung dot com --- Dear Michail, Your analysis was very helpful. I've also verified that compiler may insert memset() call or not according by 1) DSE optimization - object size/base and tune options 2) code generation.