]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix scheduling undeterminism from sorting with DEBUG_INSNs
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Sun, 1 Feb 2015 07:29:35 +0000 (07:29 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Sun, 1 Feb 2015 07:29:35 +0000 (07:29 +0000)
commit63387a852ee72042b7d2fb3570b85c586ba8c8f9
treef474c769c3a80021c6673baed1c44308401c2484
parentb4fbcb1bf2f569af3e57e91132f3573f37ad3800
Fix scheduling undeterminism from sorting with DEBUG_INSNs

* haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
(rank_for_schedule_debug): Split from ...
(rank_for_schedule): ... this.
(ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
* sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.

From-SVN: r220316
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h