summaryrefslogtreecommitdiff
path: root/gcc/passes.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/passes.c
parentcfa4c52fb5d47e1d8cddc5c490e0e70f34ef3e6c (diff)
downloadgcc-a4082e297a1bf0a99f718b855f34a7ee140e40cb.tar.gz
* 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/passes.c')
-rw-r--r--gcc/passes.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 34fdf7660c7..8ed0f305449 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1376,15 +1376,9 @@ rest_of_compilation (void)
if (!cfun->dont_emit_block_notes)
{
- /* First, make sure that NOTE_BLOCK is set correctly for each
- NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END note. */
- if (!cfun->x_whole_function_mode_p)
- identify_blocks ();
-
/* In function-at-a-time mode, we do not attempt to keep the BLOCK
tree in sensible shape. So, we just recalculate it here. */
- if (cfun->x_whole_function_mode_p)
- reorder_blocks ();
+ reorder_blocks ();
}
else
finalize_block_changes ();