------- Comment #26 from ktietz at gcc dot gnu dot org 2009-01-29 14:04 ------- (In reply to comment #25) > Can't reproduce that with a cross compiler.
You are right, I changed something else, too. Sorry. But this patch to expand_epilogue is proper IIUC Comment tells "If we're only restoring one register and sp is not valid then using a move instruction to restore the register since it's less work than reloading sp and popping the register." ... for w64 the can be more then one register in use but the check in the if doesn't verify this, and produces therefore slower code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39002