aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-03-04 09:32:35 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-03-04 04:32:35 -0500
commitdeb5e2801f7c307c0c0d225fd244741c7635deeb (patch)
tree7dbe32baf99950bdd8c71c770cc96d2bfec358e9 /gcc/final.c
parente8965a187162a2da95e059a6ef3d16a68258d046 (diff)
downloadgcc-deb5e2801f7c307c0c0d225fd244741c7635deeb.zip
gcc-deb5e2801f7c307c0c0d225fd244741c7635deeb.tar.gz
gcc-deb5e2801f7c307c0c0d225fd244741c7635deeb.tar.bz2
stmt.c (is_body_block): Move...
* stmt.c (is_body_block): Move... * dwarfout.c, dwarf2out.c: ...from here. * tree.h: Declare it. * emit-rtl.c (remove_unncessary_notes): Don't remove the body block. * final.c (final_start_function): Do call remove_unnecessary_notes when scheduling. From-SVN: r32324
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/final.c b/gcc/final.c
index d5a1a30..948ecd3 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1644,10 +1644,7 @@ final_start_function (first, file, optimize)
if (write_symbols)
{
number_blocks (current_function_decl);
- /* Scheduling packs block notes together at the top of a basic block,
- so we can't learn anything from them. */
- if (! flag_schedule_insns && ! flag_schedule_insns_after_reload)
- remove_unncessary_notes ();
+ remove_unncessary_notes ();
/* We never actually put out begin/end notes for the top-level
block in the function. But, conceptually, that block is
always needed. */