r211165 - in /branches/gcc-4_8-branch/gcc: Chan...
abel@gcc.gnu.org
abel@gcc.gnu.org
Tue Jun 3 09:25:00 GMT 2014
Author: abel
Date: Tue Jun 3 09:25:39 2014
New Revision: 211165
URL: http://gcc.gnu.org/viewcvs?rev=211165&root=gcc&view=rev
Log:
Backport from mainline
2014-05-14 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/60866
* sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
Default it to -1. Pass it down to init_simplejump_data.
(init_simplejump_data): New parameter old_seqno. Pass it down
to get_seqno_for_a_jump.
(get_seqno_for_a_jump): New parameter old_seqno. Use it for
initializing new jump seqno as a last resort. Add comment.
(sel_redirect_edge_and_branch): Save old seqno of the conditional
jump and pass it down to sel_init_new_insn.
(sel_redirect_edge_and_branch_force): Likewise.
* gcc.dg/pr60866.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr60866.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/sel-sched-ir.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list