This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SH] Cleanup sh-protos.h


Hi,

The attached patch removes unneeded forward declarations from
sh-protos.h.
Tested with 'make all-gcc'.

OK?

Cheers,
Oleg

ChangeLog:

	* config/sh/sh-protos.h (fp_int_operand, symbol_ref_operand,
	general_movsrc_operand, general_movdst_operand,
	arith_reg_operand, fp_arith_reg_operand, arith_operand,
	arith_reg_or_0_operand, logical_operand, fpscr_operand,
	fpul_operand, commutative_float_operator, 
	noncommutative_float_operator, expand_fp_branch,
	sh_handle_pragma): Remove.
Index: gcc/config/sh/sh-protos.h
===================================================================
--- gcc/config/sh/sh-protos.h	(revision 186184)
+++ gcc/config/sh/sh-protos.h	(working copy)
@@ -55,7 +55,6 @@
 extern int sh_loop_align (rtx);
 extern bool fp_zero_operand (rtx);
 extern bool fp_one_operand (rtx);
-extern int fp_int_operand (rtx);
 extern rtx get_fpscr_rtx (void);
 extern bool sh_legitimate_index_p (enum machine_mode, rtx);
 extern bool sh_legitimize_reload_address (rtx *, enum machine_mode, int, int);
@@ -93,26 +92,13 @@
 extern void fixup_addr_diff_vecs (rtx);
 extern int get_dest_uid (rtx, int);
 extern void final_prescan_insn (rtx, rtx *, int);
-extern int symbol_ref_operand (rtx, enum machine_mode);
 extern enum tls_model tls_symbolic_operand (rtx, enum machine_mode);
 extern bool system_reg_operand (rtx, enum machine_mode);
-extern int general_movsrc_operand (rtx, enum machine_mode);
-extern int general_movdst_operand (rtx, enum machine_mode);
-extern int arith_reg_operand (rtx, enum machine_mode);
-extern int fp_arith_reg_operand (rtx, enum machine_mode);
-extern int arith_operand (rtx, enum machine_mode);
-extern int arith_reg_or_0_operand (rtx, enum machine_mode);
-extern int logical_operand (rtx, enum machine_mode);
-extern int fpscr_operand (rtx, enum machine_mode);
-extern int fpul_operand (rtx, enum machine_mode);
-extern int commutative_float_operator (rtx, enum machine_mode);
-extern int noncommutative_float_operator (rtx, enum machine_mode);
 extern bool reg_unused_after (rtx, rtx);
 extern void expand_sf_unop (rtx (*)(rtx, rtx, rtx), rtx *);
 extern void expand_sf_binop (rtx (*)(rtx, rtx, rtx, rtx), rtx *);
 extern void expand_df_unop (rtx (*)(rtx, rtx, rtx), rtx *);
 extern void expand_df_binop (rtx (*)(rtx, rtx, rtx, rtx), rtx *);
-extern void expand_fp_branch (rtx (*)(void), rtx (*)(void));
 extern int sh_insn_length_adjustment (rtx);
 extern bool sh_can_redirect_branch (rtx, rtx);
 extern void sh_expand_unop_v2sf (enum rtx_code, rtx, rtx);
@@ -123,7 +109,6 @@
 #endif /* RTX_CODE */
 
 extern const char *output_jump_label_table (void);
-extern int sh_handle_pragma (int (*)(void), void (*)(int), const char *);
 extern rtx get_fpscr_rtx (void);
 extern int sh_media_register_for_return (void);
 extern void sh_expand_prologue (void);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]