aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c
index ce1fd9e..da78d3f 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));
}