diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-06-05 09:52:34 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-06-05 09:52:34 -0600 |
commit | 4408efce8bfbf2dc378dbc77416f5fd0d96b3f81 (patch) | |
tree | d5842c80a99dd931b8bff0664169a4ac2160a951 /gcc/flow.c | |
parent | 916b1701c2f14c41c71a8dc6816e49a24e9609e4 (diff) | |
download | gcc-4408efce8bfbf2dc378dbc77416f5fd0d96b3f81.zip gcc-4408efce8bfbf2dc378dbc77416f5fd0d96b3f81.tar.gz gcc-4408efce8bfbf2dc378dbc77416f5fd0d96b3f81.tar.bz2 |
sh.c (trap_exit, sp_switch): New variables.
* sh.c (trap_exit, sp_switch): New variables.
(print_operand, case '@'): If trap_exit is nonzero, then use
a trapa instead of an rte/rts to exit the current function.
(sh_expand_prologue): Switch stacks at function entry as needed.
(sh_expand_epilogue): Similarly at function exit.
(function_epilogue): Clear trap_exit and sp_switch too.
(sh_valid_machine_decl_attribute): New function.
* sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
(sp_switch): Declare.
* sh.md (sp_switch_1, sp_switch_2): New named patterns.
From-SVN: r14148
Diffstat (limited to 'gcc/flow.c')
0 files changed, 0 insertions, 0 deletions