http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59363
--- Comment #21 from Michael Zolotukhin <michael.v.zolotukhin at gmail dot com> --- Thanks, HJ! That seems to be the root cause of the fail. Did I get it right, that you are testing a patch fixing the issue? Similar issue could be in expand_movmem_epilogue, I'll take a look.