https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82396
--- Comment #12 from Wilco <wilco at gcc dot gnu.org> --- (In reply to Qing Zhao from comment #11) > I am seeing the exactly same issue on aarch64 today (10/5/2017) as comment > 10. It works if you apply my patch or replace qsort with (qsort) in gcc/haifa-sched.c.