Ulrich Weigand schrieb:
Georg-Johann Lay wrote:I'd like to support sibling calls for a target where function args can be passed in call-saved registers, namely AVR.The s390 back-end already has the very same issue. You may want to have a look at config/s390/s390.c:s390_call_saved_register_used and how it is used by s390_function_ok_for_sibcall.
Hi Ulrich, thank's much for this hint. It's the missing link I was after. Georg-Johann