Commit d3960cf4 by Ben Elliston Committed by Ben Elliston

regclass.c (invalid_mode_change_p): Attach ATTRIBUTE_UNUSED to `class' parameter.

	* regclass.c (invalid_mode_change_p): Attach ATTRIBUTE_UNUSED to
	`class' parameter.
	* struct-equiv.c (note_local_live): Likewise for `y_regno'.

From-SVN: r126811
parent ffd82975
2007-07-22 Ben Elliston <bje@au.ibm.com>
* regclass.c (invalid_mode_change_p): Attach ATTRIBUTE_UNUSED to
`class' parameter.
* struct-equiv.c (note_local_live): Likewise for `y_regno'.
2007-07-20 Richard Guenther <rguenther@suse.de> 2007-07-20 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (verify_expr): COND_EXPRs can have any * tree-cfg.c (verify_expr): COND_EXPRs can have any
......
...@@ -2444,7 +2444,8 @@ cannot_change_mode_set_regs (HARD_REG_SET *used, enum machine_mode from, ...@@ -2444,7 +2444,8 @@ cannot_change_mode_set_regs (HARD_REG_SET *used, enum machine_mode from,
mode. */ mode. */
bool bool
invalid_mode_change_p (unsigned int regno, enum reg_class class, invalid_mode_change_p (unsigned int regno,
enum reg_class class ATTRIBUTE_UNUSED,
enum machine_mode from) enum machine_mode from)
{ {
struct subregs_of_mode_node dummy, *node; struct subregs_of_mode_node dummy, *node;
......
...@@ -328,7 +328,7 @@ note_local_live (struct equiv_info *info, rtx x, rtx y, int rvalue) ...@@ -328,7 +328,7 @@ note_local_live (struct equiv_info *info, rtx x, rtx y, int rvalue)
if (reload_completed) if (reload_completed)
{ {
unsigned x_regno ATTRIBUTE_UNUSED = REGNO (x); unsigned x_regno ATTRIBUTE_UNUSED = REGNO (x);
unsigned y_regno = REGNO (y); unsigned y_regno ATTRIBUTE_UNUSED = REGNO (y);
enum machine_mode x_mode = GET_MODE (x); enum machine_mode x_mode = GET_MODE (x);
if (secondary_reload_class (0, REGNO_REG_CLASS (y_regno), x_mode, x) if (secondary_reload_class (0, REGNO_REG_CLASS (y_regno), x_mode, x)
......
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