OSDN Git Service

PR rtl-optimization/46614
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Nov 2010 16:56:44 +0000 (16:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Nov 2010 16:56:44 +0000 (16:56 +0000)
commit5672b7f8b134fa65319353041e024e66f3bd6ad1
tree7a0688da5418ba89145b1c48716b4202ada97dac
parente7a960245cbc9ed81b426a79876e0a84a59bcea1
PR rtl-optimization/46614
* sched-deps.c (NON_FLUSH_JUMP_KIND, NON_FLUSH_JUMP_P): Define.
 (deps_analyze_insn): Mark JUMP_INSNs in
last_pending_memory_flush that weren't added through
flush_pending_lists with NON_FLUSH_JUMP_KIND.
(sched_analyze_2, sched_analyze_insn): Check NON_FLUSH_JUMP_P
on INSN_LIST instead of JUMP_P check on its operand.
* sched-rgn.c (concat_INSN_LIST): Copy over REG_NOTE_KIND.

* gcc.dg/pr46614.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167121 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/sched-deps.c
gcc/sched-rgn.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46614.c [new file with mode: 0644]