Hi all, I am trying to implement sibcall optimization for a specific arch in 4.3.4. However, this is only important for me to do if it maintains or decreases code size. I need to know the live registers, frame size, etc. Is this information available at TARGET_FUNCTION_OK_FOR_SIBCALL or should this hook be mainly used to decide to do sibcall based on analysis of the tree? On the other hand I thought I could try to accept sibcall most of the times through TARGET_FUNCTION_OK_FOR_SIBCALL and then on the expand of sibcall_epilogue I would fallback to a normal leave if I decide that sibcall is not worth it. Is this possible? If it is, how can I emit a 'normal leave' from sibcall_epilogue? Cheers, -- Paulo Jorge Matos - pocmatos at gmail.com http://www.pmatos.net