http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59172
--- Comment #1 from Naohiko Shimizu <pshimizu at fa2 dot so-net.ne.jp> --- Created attachment 31244 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31244&action=edit To make epilogue calculate sp apply this patch. This patch works if the saved register is recovered with mov instructions.