https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88906
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jakub Jelinek from comment #4) > Hard to bisect, because before r233979 this used to ICE or segfault in the > compiler, starting with r201645 when -mmemcpy-strategy= option has been > added, and already r233979 generates wrong-code. Please see #3 comment. The RTL expansion of a memcpy does not mark pointers as escaping. DSE1 pass later deduces that memory region, pointed by src pointer is unused and removes its initialization.