http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46614
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:25:53 UTC --- 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 <ja...@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