aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.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/passes.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/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 34fdf76..8ed0f30 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 ();