aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-01 01:00:47 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-01 01:00:47 -0700
commit1ea463a273df44816d63c3f96292341668a88ef0 (patch)
tree4334bddc40c1748c1f49a7fa541c7d618176242a /gcc/passes.c
parentc9b9aa64e97f8ad913c0bfb7897ac187b082d40c (diff)
downloadgcc-1ea463a273df44816d63c3f96292341668a88ef0.zip
gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.gz
gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.bz2
function.h (struct function): Remove dont_emit_block_notes.
* function.h (struct function): Remove dont_emit_block_notes. * gimple-low.c (lower_function_body): Don't set it. * cfgexpand.c (expand_block): Don't check it. * cfglayout.c (insn_locators_initialize): Likewise. * expr.c (expand_expr_real, expand_expr_real_1): Likewise. * passes.c (rest_of_compilation): Likewise. * stmt.c (expand_start_bindings_and_block): Likewise. (expand_end_bindings): Likewise. From-SVN: r83959
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 8ed0f30..df1c5bd 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1374,14 +1374,7 @@ rest_of_compilation (void)
have been run to re-initialize it. */
cse_not_expected = ! optimize;
- if (!cfun->dont_emit_block_notes)
- {
- /* In function-at-a-time mode, we do not attempt to keep the BLOCK
- tree in sensible shape. So, we just recalculate it here. */
- reorder_blocks ();
- }
- else
- finalize_block_changes ();
+ finalize_block_changes ();
/* Dump the rtl code if we are dumping rtl. */
if (open_dump_file (DFI_rtl, current_function_decl))
@@ -1413,8 +1406,6 @@ rest_of_compilation (void)
over the instruction sequence faster, and allow the garbage
collector to reclaim the memory used by the notes. */
remove_unnecessary_notes ();
- if (!cfun->dont_emit_block_notes)
- reorder_blocks ();
ggc_collect ();