summaryrefslogtreecommitdiffstats
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-01 01:12:19 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-01 01:12:19 +0000
commita4082e297a1bf0a99f718b855f34a7ee140e40cb (patch)
tree0acb30dc1fe30a10aa0f49858ffea3a987341bb4 /gcc/tree-optimize.c
parentcfa4c52fb5d47e1d8cddc5c490e0e70f34ef3e6c (diff)
downloadppe42-gcc-a4082e297a1bf0a99f718b855f34a7ee140e40cb.tar.gz
ppe42-gcc-a4082e297a1bf0a99f718b855f34a7ee140e40cb.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83947 138bc75d-0d04-0410-961f-82ee72b054a4
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 a4ee979d45f..cfac6f7adba 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
OpenPOWER on IntegriCloud