]> git.ipfire.org Git - thirdparty/gcc.git/commit
modulo-sched: fix branch scheduling issue (PR84032)
authorzhroma <zhroma@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2019 12:53:43 +0000 (12:53 +0000)
committerzhroma <zhroma@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2019 12:53:43 +0000 (12:53 +0000)
commitfba98a9aa8b4efde1fee389334d98ae380ab387b
tree77aa4a640f4fda00d53364b6d16c115d179a6734
parenta4265b66a3fad9bf0ec67255d5c19c87a4e85814
modulo-sched: fix branch scheduling issue (PR84032)

PR rtl-optimization/84032
* modulo-sched.c (ps_insn_find_column): Change condition so that
branch will always be the last insn in a row inside partial
schedule.

testsuite:

PR rtl-optimization/84032
* gcc.dg/pr84032.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270511 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/modulo-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr84032.c [new file with mode: 0644]