diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-15 23:12:57 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-15 23:12:57 -0700 |
commit | 8634413a53dee6ec6bf5a6df10309d84700536cf (patch) | |
tree | b9d08c8338ebadcac07049c24cecbfe82f97c756 | |
parent | a996f770afc1ae7add55dae1e519a034499d3baf (diff) | |
download | gcc-8634413a53dee6ec6bf5a6df10309d84700536cf.zip gcc-8634413a53dee6ec6bf5a6df10309d84700536cf.tar.gz gcc-8634413a53dee6ec6bf5a6df10309d84700536cf.tar.bz2 |
(current_function_has_nonlocal_goto): New var.
(push_function_context): Save it.
(pop_function_context): Restore it.
(init_function_start): Init it.
From-SVN: r5336
-rw-r--r-- | gcc/function.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index e4b631e..1e27500 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -116,6 +116,11 @@ int current_function_calls_longjmp; int current_function_has_nonlocal_label; +/* Nonzero if function being compiled has nonlocal gotos to parent + function. */ + +int current_function_has_nonlocal_goto; + /* Nonzero if function being compiled contains nested functions. */ int current_function_contains_functions; @@ -404,6 +409,7 @@ push_function_context () p->calls_longjmp = current_function_calls_longjmp; p->calls_alloca = current_function_calls_alloca; p->has_nonlocal_label = current_function_has_nonlocal_label; + p->has_nonlocal_goto = current_function_has_nonlocal_goto; p->args_size = current_function_args_size; p->pretend_args_size = current_function_pretend_args_size; p->arg_offset_rtx = current_function_arg_offset_rtx; @@ -465,6 +471,7 @@ pop_function_context () current_function_calls_longjmp = p->calls_longjmp; current_function_calls_alloca = p->calls_alloca; current_function_has_nonlocal_label = p->has_nonlocal_label; + current_function_has_nonlocal_goto = p->has_nonlocal_goto; current_function_contains_functions = 1; current_function_args_size = p->args_size; current_function_pretend_args_size = p->pretend_args_size; @@ -4311,6 +4318,7 @@ init_function_start (subr, filename, line) current_function_calls_alloca = 0; current_function_has_nonlocal_label = 0; + current_function_has_nonlocal_goto = 0; current_function_contains_functions = 0; current_function_returns_pcc_struct = 0; |