From e092158b65e33fe9e8f28f72c761eabde894ba78 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sat, 28 May 2011 17:26:27 +0000 Subject: [PATCH] genrecog.c: Remove redundant forward declarations. gcc/ * genrecog.c: Remove redundant forward declarations. From-SVN: r174382 --- gcc/ChangeLog | 4 +++ gcc/genrecog.c | 77 -------------------------------------------------- 2 files changed, 4 insertions(+), 77 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00214b43c27..9a2f4d347ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-28 Richard Sandiford + + * genrecog.c: Remove redundant forward declarations. + 2011-05-28 Richard Sandiford * config.gcc: Deprecate mips*-*-openbsd*. diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 6d92444ae0a..7c9298dfc60 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -221,83 +221,6 @@ static struct position root_pos; since we are given that instruction's pattern as x0. */ static struct position *peep2_insn_pos_list = &root_pos; -static struct decision *new_decision - (struct position *, struct decision_head *); -static struct decision_test *new_decision_test - (enum decision_type, struct decision_test ***); -static rtx find_operand - (rtx, int, rtx); -static rtx find_matching_operand - (rtx, int); -static void validate_pattern - (rtx, rtx, rtx, int); -static struct decision *add_to_sequence - (rtx, struct decision_head *, struct position *, enum routine_type, int); - -static int maybe_both_true_2 - (struct decision_test *, struct decision_test *); -static int maybe_both_true_1 - (struct decision_test *, struct decision_test *); -static int maybe_both_true - (struct decision *, struct decision *, int); - -static int nodes_identical_1 - (struct decision_test *, struct decision_test *); -static int nodes_identical - (struct decision *, struct decision *); -static void merge_accept_insn - (struct decision *, struct decision *); -static void merge_trees - (struct decision_head *, struct decision_head *); - -static void factor_tests - (struct decision_head *); -static void simplify_tests - (struct decision_head *); -static int break_out_subroutines - (struct decision_head *, int); -static void find_afterward - (struct decision_head *, struct decision *); - -static void change_state - (struct position *, struct position *, const char *); -static void print_code - (enum rtx_code); -static void write_afterward - (struct decision *, struct decision *, const char *); -static struct decision *write_switch - (struct decision *, int); -static void write_cond - (struct decision_test *, int, enum routine_type); -static void write_action - (struct decision *, struct decision_test *, int, int, - struct decision *, enum routine_type); -static int is_unconditional - (struct decision_test *, enum routine_type); -static int write_node - (struct decision *, int, enum routine_type); -static void write_tree_1 - (struct decision_head *, int, enum routine_type); -static void write_tree - (struct decision_head *, struct position *, enum routine_type, int); -static void write_subroutine - (struct decision_head *, enum routine_type); -static void write_subroutines - (struct decision_head *, enum routine_type); -static void write_header - (void); - -static struct decision_head make_insn_sequence - (rtx, enum routine_type); -static void process_tree - (struct decision_head *, enum routine_type); - -static void debug_decision_0 - (struct decision *, int, int); -static void debug_decision_1 - (struct decision *, int); -static void debug_decision_2 - (struct decision_test *); extern void debug_decision (struct decision *); extern void debug_decision_list -- 2.30.2