This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r167546 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 07 Dec 2010 15:25:50 -0000
- Subject: r167546 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jakub
Date: Tue Dec 7 15:25:48 2010
New Revision: 167546
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167546
Log:
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.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46614.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/sched-deps.c
branches/gcc-4_5-branch/gcc/sched-rgn.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog