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
This commit is contained in:
Wilco Dijkstra 2017-10-06 11:54:51 +00:00 committed by Wilco Dijkstra
parent 312ce40190
commit 816f83cfb7
2 changed files with 7 additions and 1 deletions

View file

@ -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...

View file

@ -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)
{