diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-10-06 11:54:51 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco@gcc.gnu.org> | 2017-10-06 11:54:51 +0000 |
commit | 816f83cfb7a82a48945384942c32c87659d4ad06 (patch) | |
tree | b51360425394244c897d776398d610ea17cd32d3 /gcc | |
parent | 312ce401906209132ac80b68b50ff2c21b2c1079 (diff) | |
download | gcc-816f83cfb7a82a48945384942c32c87659d4ad06.zip gcc-816f83cfb7a82a48945384942c32c87659d4ad06.tar.gz gcc-816f83cfb7a82a48945384942c32c87659d4ad06.tar.bz2 |
PR82396 workaround
r253236 broke AArch64 bootstrap. This is a temporary workaround that
disables qsort checking in the scheduler to enable continued development
and testing on AArch64. This will be removed once the autopref scheduling
code has been fixed.
gcc/
PR rtl-optimization/82396
* haifa-sched.c (ready_sort_real): Disable qsort checking.
From-SVN: r253487
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/haifa-sched.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dec072a..f7c9967 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-06 Wilco Dijkstra <wdijkstr@arm.com> + + PR rtl-optimization/82396 + * haifa-sched.c (ready_sort_real): Disable qsort checking. + 2017-10-06 Sebastian Pop <sebpop@gmail.com> * graphite-dependences.c (scop_get_reads): Move code to... diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 549e896..e7014cb 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -3084,7 +3084,8 @@ ready_sort_real (struct ready_list *ready) if (n_ready_real == 2) swap_sort (first, n_ready_real); else if (n_ready_real > 2) - qsort (first, n_ready_real, sizeof (rtx), rank_for_schedule); + /* HACK: Disable qsort checking for now (PR82396). */ + (qsort) (first, n_ready_real, sizeof (rtx), rank_for_schedule); if (sched_verbose >= 4) { |