------- Comment #10 from hjl dot tools at gmail dot com 2010-04-26 13:44 ------- (In reply to comment #9) > In the leaf_function_p sense it is non-leaf. For the stack alignment it of > course would be possible to change the stack alignment requirements of the > function if it calls itself, doesn't call other functions (nor tail call them) > and it is changed not to assume the standard alignment in the whole function. >
That is true. For tail call, we only need to align outgoing stack to minimum of maximum local stack alignment and incoming stack alignment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43884