This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/39002] [4.4 Regression] codegen bug, stack pointer is not restored



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]