aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-06-30 18:12:19 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-06-30 18:12:19 -0700
commit4025c040c5d5676e50b8a46d8c3820feb7f55fd8 (patch)
tree0acb30dc1fe30a10aa0f49858ffea3a987341bb4 /gcc/tree-optimize.c
parent6a0bec2ce1817d8cb78a4a9c1729855382d412cd (diff)
downloadgcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.zip
gcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.tar.gz
gcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.tar.bz2
function.h (struct function): Remove x_whole_function_mode_p.
* function.h (struct function): Remove x_whole_function_mode_p. * c-decl.c (store_parm_decls): Don't set it. * tree-optimize.c (tree_rest_of_compilation): Likewise. * passes.c (rest_of_compilation): Don't check it. * stmt.c (expand_fixup): Likewise. * function.c (fixup_var_refs_insn): Remove unused variable. fortran/ * trans-decl.c (gfc_generate_function_code): Don't set x_whole_function_mode_p. (gfc_generate_constructors): Likewise. From-SVN: r83947
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index a4ee979..cfac6f7 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -467,9 +467,6 @@ tree_rest_of_compilation (tree fndecl, bool nested_p)
input_location = DECL_SOURCE_LOCATION (fndecl);
init_function_start (fndecl);
- /* This function is being processed in whole-function mode. */
- cfun->x_whole_function_mode_p = 1;
-
/* Even though we're inside a function body, we still don't want to
call expand_expr to calculate the size of a variable-sized array.
We haven't necessarily assigned RTL to all variables yet, so it's