Patch to make nested functions and non-local gotos work.
* i960/i960.c (i960_function_prologue): Don't save static chain pointer. * i960/i960.h (STACK_CHAIN_REGNUM): Change from r3 to g12. (TRAMPOLINE_TEMPLATE): Likewise. (FRAME_POINTER_REQUIRED): Check current_function_has_nonlocal_goto. * i960/i960.md (nonlocal_goto): Rewrite. From-SVN: r26282
Showing
Please
register
or
sign in
to comment