Commit 4cf37b4a by J"orn Rennecke Committed by Joern Rennecke

* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.

From-SVN: r38267
parent edac124d
Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
2000-12-14 Jim Wilson <wilson@redhat.com>
* alias.c (get_alias_set): Call record_component_aliases for
......
......@@ -1955,10 +1955,8 @@ sched_init (dump_file)
if (NEXT_INSN (insn) == 0
|| (GET_CODE (insn) != NOTE
&& GET_CODE (insn) != CODE_LABEL
/* Don't emit a NOTE if it would end up between an unconditional
jump and a BARRIER. */
&& !(GET_CODE (insn) == JUMP_INSN
&& GET_CODE (NEXT_INSN (insn)) == BARRIER)))
/* Don't emit a NOTE if it would end up before a BARRIER. */
&& GET_CODE (NEXT_INSN (insn)) != BARRIER))
emit_note_after (NOTE_INSN_DELETED, BLOCK_END (n_basic_blocks - 1));
/* Compute INSN_REG_WEIGHT for all blocks. We must do this before
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment