From e25083665f86ef0c6093c6507f11cef643131e5d Mon Sep 17 00:00:00 2001 From: mkuvyrkov Date: Thu, 19 Feb 2015 08:31:14 +0000 Subject: Fix PR64935 * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG. (rank_for_schedule_debug): Update. (ready_sort): Make static. Move sorting logic to ... (ready_sort_debug, ready_sort_real): New static functions. (schedule_block): Sort both debug insns and real insns in preparation for ready list trimming. Improve debug output. * sched-int.h (ready_sort): Remove global declaration. * gcc.dg/pr64935-1.c, gcc.dg/pr64935-2.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220808 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/sched-int.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/sched-int.h') diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 1b9f8d1d74f..1cb0e2d344d 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1400,7 +1400,6 @@ extern int dfa_lookahead; extern int autopref_multipass_dfa_lookahead_guard (rtx_insn *, int); -extern void ready_sort (struct ready_list *); extern rtx_insn *ready_element (struct ready_list *, int); extern rtx_insn **ready_lastpos (struct ready_list *); -- cgit v1.2.1