mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 01:07:33 +08:00
* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
From-SVN: r38267
This commit is contained in:
parent
edac124d95
commit
4cf37b4a68
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user