http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57661
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps if copy_cfg_body saved a pointer to the blocks_to_copy bitmap temporarily into a new field in *id, the copying of clobber stmts could check if for MEM_REF clobbers the SSA_NAME mentioned there has a definition in a block not listed in blocks_to_copy and in that case instead of copying over the clobber stmt just throw it on the floor.