------- Comment #2 from thutt at vmware dot com 2008-12-16 14:03 ------- (In reply to comment #1) > The reason why they are saved is so that you can have a good way of debugging > noreturn functions. >
Can you please elaborate? How is saving these registers, which will never be restored, going to make it easier to debug noreturn functions? Can you please explain how the values in the saved registers are relevant to the 'noreturn' function? As far as I understand it, the callee saved registers are not used to pass any information to the callee, so I don't understand how saving them makes it easier to debug code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38534