diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-30 06:32:57 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-30 06:32:57 +0000 |
commit | f3653b7d09a8e275f5c3211ad71c6f91af32c200 (patch) | |
tree | 4853bd6350a58c11315ec3c4f350bd5963479644 /gcc/final.c | |
parent | 582764be61fd98a6c445d188286e3d06f6ec304a (diff) | |
download | gcc-f3653b7d09a8e275f5c3211ad71c6f91af32c200.tar.gz |
Make NON_SAVING_SETJMP usable again.
* final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
* reload1.c (reload): Re-add it here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/final.c b/gcc/final.c index e93f4bbd3be..820cb680ab2 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1336,19 +1336,6 @@ final_start_function (rtx first ATTRIBUTE_UNUSED, FILE *file, this_is_asm_operands = 0; -#ifdef NON_SAVING_SETJMP - /* A function that calls setjmp should save and restore all the - call-saved registers on a system where longjmp clobbers them. */ - if (NON_SAVING_SETJMP && current_function_calls_setjmp) - { - int i; - - for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) - if (!call_used_regs[i]) - regs_ever_live[i] = 1; - } -#endif - last_filename = locator_file (prologue_locator); last_linenum = locator_line (prologue_locator); |