diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-04 09:32:35 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-04 09:32:35 +0000 |
commit | e33dbbdf5bab6846f0940ff4642f7591a808d2a1 (patch) | |
tree | 7dbe32baf99950bdd8c71c770cc96d2bfec358e9 /gcc/final.c | |
parent | 1a02038c5601046dafc51f09a37349a5c3a39007 (diff) | |
download | ppe42-gcc-e33dbbdf5bab6846f0940ff4642f7591a808d2a1.tar.gz ppe42-gcc-e33dbbdf5bab6846f0940ff4642f7591a808d2a1.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/final.c b/gcc/final.c index d5a1a304c40..948ecd33e5d 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. */ |