sel-sched: update liveness in redirect_edge_and_branch hooks (PR 86928)
authorAndrey Belevantsev <abel@ispras.ru>
Mon, 1 Apr 2019 16:32:24 +0000 (19:32 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 1 Apr 2019 16:32:24 +0000 (19:32 +0300)
commit8bad0ced9fad845ef61bb3e27c38d004e0ab6d0f
tree79a64bb099de3cc7e50973fe262ceb4de2c694a4
parent0d2a576a1417b8d4526d369fef1d87cee2c49f99
sel-sched: update liveness in redirect_edge_and_branch hooks (PR 86928)

2019-04-01  Andrey Belevantsev  <abel@ispras.ru>

PR rtl-optimization/86928
* sel-sched-ir.c (sel_redirect_edge_and_branch_force): Invoke
compute_live if necessary.
(sel_redirect_edge_and_branch): Likewise.

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

From-SVN: r270061
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86928.c [new file with mode: 0644]