forcing gcc to save all caller saved registers

Richard Henderson rth@redhat.com
Tue Nov 26 02:18:00 GMT 2002


On Sat, Nov 23, 2002 at 02:09:22PM +0100, Dietmar Maurer wrote:
> That way gcc save/restores all caller saved regs and generates exception
> tables able to restore all those registers (when compiled with
> -fextections)
> 
> Is there any other way to accomplish the same result?

__builtin_unwind_init ().  Does more work than you may have wanted
on targets with register windows, but should be close enough.


r~



More information about the Gcc mailing list