Commit 8819cab5 by Kaveh R. Ghazi Committed by Kaveh Ghazi

ip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype.

	* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
	mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
	ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
	ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
	mdr_try_remove_redundant_insns, track_w_reload,
	mdr_try_wreg_elim): Make function static to match prototype.
	* mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
	parameter with ATTRIBUTE_UNUSED.

From-SVN: r56210
parent ab2877a3
2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
mdr_try_remove_redundant_insns, track_w_reload,
mdr_try_wreg_elim): Make function static to match prototype.
* mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
parameter with ATTRIBUTE_UNUSED.
2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* arc.c (arc_init): Don't use ISO C style function definitions. * arc.c (arc_init): Don't use ISO C style function definitions.
* arm.c (count_insns_for_constant, thumb_far_jump_used_p, * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
arm_get_strip_length, arm_strip_name_encoding): Likewise. arm_get_strip_length, arm_strip_name_encoding): Likewise.
......
...@@ -3370,7 +3370,7 @@ ip2k_address_cost (x) ...@@ -3370,7 +3370,7 @@ ip2k_address_cost (x)
much cheaper and the move from this to the original source operand will be much cheaper and the move from this to the original source operand will be
no more expensive than the original move. */ no more expensive than the original move. */
void static void
mdr_resequence_xy_yx (first_insn) mdr_resequence_xy_yx (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -3622,7 +3622,7 @@ mdr_propagate_reg_equivs_sequence (first_insn, orig, equiv) ...@@ -3622,7 +3622,7 @@ mdr_propagate_reg_equivs_sequence (first_insn, orig, equiv)
holds the same value and thus allow one or more register loads to holds the same value and thus allow one or more register loads to
be eliminated. */ be eliminated. */
void static void
mdr_propagate_reg_equivs (first_insn) mdr_propagate_reg_equivs (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4028,7 +4028,7 @@ mdr_try_dp_reload_elim (first_insn) ...@@ -4028,7 +4028,7 @@ mdr_try_dp_reload_elim (first_insn)
that we can move to earlier points within the file. that we can move to earlier points within the file.
Moving these out of the way allows more peepholes to match. */ Moving these out of the way allows more peepholes to match. */
void static void
mdr_try_move_dp_reload (first_insn) mdr_try_move_dp_reload (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4119,7 +4119,7 @@ mdr_try_move_dp_reload (first_insn) ...@@ -4119,7 +4119,7 @@ mdr_try_move_dp_reload (first_insn)
/* Look to see if the expression, x, can have any stack references offset by /* Look to see if the expression, x, can have any stack references offset by
a fixed constant, offset. If it definitely can then returns non-zero. */ a fixed constant, offset. If it definitely can then returns non-zero. */
int static int
ip2k_check_can_adjust_stack_ref (x, offset) ip2k_check_can_adjust_stack_ref (x, offset)
rtx x; rtx x;
int offset; int offset;
...@@ -4167,7 +4167,7 @@ ip2k_check_can_adjust_stack_ref (x, offset) ...@@ -4167,7 +4167,7 @@ ip2k_check_can_adjust_stack_ref (x, offset)
/* Adjusts all of the stack references in the expression pointed to by x by /* Adjusts all of the stack references in the expression pointed to by x by
a fixed offset. */ a fixed offset. */
void static void
ip2k_adjust_stack_ref (x, offset) ip2k_adjust_stack_ref (x, offset)
rtx *x; rtx *x;
int offset; int offset;
...@@ -4212,7 +4212,7 @@ ip2k_adjust_stack_ref (x, offset) ...@@ -4212,7 +4212,7 @@ ip2k_adjust_stack_ref (x, offset)
to earlier points within the file. Moving these out of the way allows more to earlier points within the file. Moving these out of the way allows more
peepholes to match. */ peepholes to match. */
void static void
mdr_try_move_pushes (first_insn) mdr_try_move_pushes (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4625,7 +4625,7 @@ mdr_try_propagate_clr_sequence (first_insn, regno) ...@@ -4625,7 +4625,7 @@ mdr_try_propagate_clr_sequence (first_insn, regno)
actually change some instruction patterns when we're doing this whereas actually change some instruction patterns when we're doing this whereas
move propagation is just about doing a search and replace. */ move propagation is just about doing a search and replace. */
void static void
mdr_try_propagate_clr (first_insn) mdr_try_propagate_clr (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4656,7 +4656,7 @@ mdr_try_propagate_clr (first_insn) ...@@ -4656,7 +4656,7 @@ mdr_try_propagate_clr (first_insn)
via the specified register. This is very conservative and only returns via the specified register. This is very conservative and only returns
non-zero if we definitely don't have such a memory ref. */ non-zero if we definitely don't have such a memory ref. */
int static int
ip2k_xexp_not_uses_reg_for_mem (x, regno) ip2k_xexp_not_uses_reg_for_mem (x, regno)
rtx x; rtx x;
unsigned int regno; unsigned int regno;
...@@ -4848,7 +4848,7 @@ mdr_try_propagate_move_sequence (first_insn, orig, equiv) ...@@ -4848,7 +4848,7 @@ mdr_try_propagate_move_sequence (first_insn, orig, equiv)
holds the same value and thus allow one or more register loads to holds the same value and thus allow one or more register loads to
be eliminated. */ be eliminated. */
void static void
mdr_try_propagate_move (first_insn) mdr_try_propagate_move (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4897,7 +4897,7 @@ mdr_try_propagate_move (first_insn) ...@@ -4897,7 +4897,7 @@ mdr_try_propagate_move (first_insn)
/* Try to remove redundant instructions. */ /* Try to remove redundant instructions. */
void static void
mdr_try_remove_redundant_insns (first_insn) mdr_try_remove_redundant_insns (first_insn)
rtx first_insn; rtx first_insn;
{ {
...@@ -4993,7 +4993,7 @@ struct we_jump_targets *ip2k_we_jump_targets; ...@@ -4993,7 +4993,7 @@ struct we_jump_targets *ip2k_we_jump_targets;
/* WREG equivalence tracking used within DP reload elimination. */ /* WREG equivalence tracking used within DP reload elimination. */
int static int
track_w_reload (insn, w_current, w_current_ok, modifying) track_w_reload (insn, w_current, w_current_ok, modifying)
rtx insn; rtx insn;
rtx *w_current; rtx *w_current;
...@@ -5083,7 +5083,7 @@ track_w_reload (insn, w_current, w_current_ok, modifying) ...@@ -5083,7 +5083,7 @@ track_w_reload (insn, w_current, w_current_ok, modifying)
/* As part of the machine-dependent reorg we scan moves into w and track them /* As part of the machine-dependent reorg we scan moves into w and track them
to see where any are redundant. */ to see where any are redundant. */
void static void
mdr_try_wreg_elim (first_insn) mdr_try_wreg_elim (first_insn)
rtx first_insn; rtx first_insn;
{ {
......
...@@ -760,10 +760,10 @@ mmix_machine_dependent_reorg (first) ...@@ -760,10 +760,10 @@ mmix_machine_dependent_reorg (first)
/* TARGET_ASM_FUNCTION_EPILOGUE. */ /* TARGET_ASM_FUNCTION_EPILOGUE. */
void static void
mmix_target_asm_function_epilogue (stream, locals_size) mmix_target_asm_function_epilogue (stream, locals_size)
FILE *stream; FILE *stream;
HOST_WIDE_INT locals_size; HOST_WIDE_INT locals_size ATTRIBUTE_UNUSED;
{ {
/* Emit an \n for readability of the generated assembly. */ /* Emit an \n for readability of the generated assembly. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment