aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJames E Wilson <wilson@specifixinc.com>2003-11-30 06:32:57 +0000
committerJim Wilson <wilson@gcc.gnu.org>2003-11-29 22:32:57 -0800
commit5583e33da85818e2b25b5995e6d503a7444b030a (patch)
tree4853bd6350a58c11315ec3c4f350bd5963479644 /gcc/final.c
parent1ff8f81ab3d8242b575a2d2c533f357042c2e8d1 (diff)
downloadgcc-5583e33da85818e2b25b5995e6d503a7444b030a.zip
gcc-5583e33da85818e2b25b5995e6d503a7444b030a.tar.gz
gcc-5583e33da85818e2b25b5995e6d503a7444b030a.tar.bz2
Make NON_SAVING_SETJMP usable again.
* final.c (final_start_function): Delete code for NON_SAVING_SETJMP. * reload1.c (reload): Re-add it here. From-SVN: r74052
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/final.c b/gcc/final.c
index e93f4bb..820cb68 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);