Patch to make nested functions and non-local gotos work.
authorJim Wilson <wilson@cygnus.com>
Wed, 7 Apr 1999 23:03:01 +0000 (23:03 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 7 Apr 1999 23:03:01 +0000 (16:03 -0700)
commita45f333130536a0dcfb468a6b49e6e81c5fab882
tree3cf5f3681bab1e977ba1d47b3c774799d44c43e0
parent9a566c09260a094d6d8416bd3c8c3783bcd40f5a
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
gcc/ChangeLog
gcc/config/i960/i960.c
gcc/config/i960/i960.h
gcc/config/i960/i960.md