]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/46614 (gcc.dg/vect/vect-strided-u8-i8-gap4.c FAILs...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Dec 2010 15:25:48 +0000 (16:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Dec 2010 15:25:48 +0000 (16:25 +0100)
commitfd0807e349b27527091744f55920a071a87ba1d0
treece9485f313b494129977a692b246009b4dfcb775
parent0f84a7fde5ce224d4eb112f3ca64cfe1a00ca9fe
backport: re PR rtl-optimization/46614 (gcc.dg/vect/vect-strided-u8-i8-gap4.c FAILs with -fno-rename-registers -fsched2-use-superblocks)

Backport from mainline
2010-11-24  Jakub Jelinek  <jakub@redhat.com>

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.

PR rtl-optimization/46614
* gcc.dg/pr46614.c: New test.

From-SVN: r167546
gcc/ChangeLog
gcc/sched-deps.c
gcc/sched-rgn.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46614.c [new file with mode: 0644]