------- Comment #5 from carrot at google dot com 2009-07-07 06:44 ------- Could we do the optimization in function thumb1_expand_prologue? If we find this opportunity in function thumb1_expand_prologue, we can remove the sp manipulations from prologue and epilogue. We also should add extra registers to push/pop operands.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657