diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 19:55:24 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 19:55:24 +0000 |
commit | 4fec1d6c59baf0070f3ae1b62e5564a588603f7d (patch) | |
tree | 67f41f708633dc69a022149ee3dee19b259e910b /gcc/function.c | |
parent | a9c3635d9c04c819cb3006e1ee672afe1f8ca8b7 (diff) | |
download | gcc-4fec1d6c59baf0070f3ae1b62e5564a588603f7d.tar.gz |
* function.h (struct function): Remove calls_longjmp.
(current_function_calls_longjmp): Delete.
* tree.h (ECF_LONGJMP): Delete.
(ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN)
(ECF_LIBCALL_BLOCK): Everybody slide down one.
(ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments.
* builtins.c (expand_builtin_longjmp): Don't set
current_function_calls_longjmp.
* calls.c (special_function_p): Mark longjmp and siglongjmp
with ECF_NORETURN, not ECF_LONGJMP.
(emit_call_1, expand_call, emit_library_call_value_1):
Don't check for ECF_LONGJMP.
* tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt)
(need_fake_edge_p): Likewise.
* config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP.
* system.h: Poison NON_SAVING_SETJMP.
* function.c (use_register_for_decl)
* gcse.c (compute_hash_table_work, compute_store_table)
* postreload-gcse.c (record_opr_changes)
* reload.c (find_equiv_reg)
* reload1.c (reload)
* config/i386/i386.c (ix86_can_use_return_insn_p):
Remove code conditional on NON_SAVING_SETJMP.
* doc/tm.texi: Delete documentation of NON_SAVING_SETJMP.
* config/i386/sysv3.h: Delete file.
* config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91101 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c index ce1fd9eb3ac..da78d3fe022 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1926,14 +1926,6 @@ use_register_for_decl (tree decl) if (DECL_ARTIFICIAL (decl)) return true; -#ifdef NON_SAVING_SETJMP - /* Protect variables not declared "register" from setjmp. */ - if (NON_SAVING_SETJMP - && current_function_calls_setjmp - && !DECL_REGISTER (decl)) - return false; -#endif - return (optimize || DECL_REGISTER (decl)); } |