diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-03-18 16:37:13 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-03-18 16:37:13 -0500 |
commit | 49468af2d98330925a3bb64ad65c78148ae39b9a (patch) | |
tree | c3bfc84b73df5eee3895832a1b8998f7dbba788b | |
parent | 951af26e21ccfb983c70e61f82fd5dd87a757f57 (diff) | |
download | gcc-49468af2d98330925a3bb64ad65c78148ae39b9a.zip gcc-49468af2d98330925a3bb64ad65c78148ae39b9a.tar.gz gcc-49468af2d98330925a3bb64ad65c78148ae39b9a.tar.bz2 |
(pop_function_context): Fix error in last change; reference old value
of current_function_decl before we modify it.
From-SVN: r9202
-rw-r--r-- | gcc/function.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c index 442b506..c3ddb22 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -544,6 +544,9 @@ pop_function_context_from (context) outer_function_chain = p->next; + current_function_contains_functions + = p->contains_functions || p->inline_obstacks + || context == current_function_decl; current_function_name = p->name; current_function_decl = p->decl; current_function_pops_args = p->pops_args; @@ -555,9 +558,6 @@ pop_function_context_from (context) 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 - = p->contains_functions || p->inline_obstacks - || context == current_function_decl; current_function_args_size = p->args_size; current_function_pretend_args_size = p->pretend_args_size; current_function_arg_offset_rtx = p->arg_offset_rtx; |