Patchwork Committed: Fix rtl-optimization/44764

login
register
mail settings
Submitter Joern Rennecke
Date Nov. 10, 2010, 10:10 a.m.
Message ID <20101110051043.087zxphxwsw08k88-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/70619/
State New
Headers show

Comments

Joern Rennecke - Nov. 10, 2010, 10:10 a.m.
Bootstrapped on i686-pc-linux-gnu.

Committed as obvious.
2010-11-10  Joern Rennecke  <amylaar@spamcop.net>

	PR rtl-optimization/44764
	* addresses.h (ok_for_base_p_1): Mark regno with ATTRIBUTE_UNUSED.

Patch

Index: addresses.h
===================================================================
--- addresses.h	(revision 166491)
+++ addresses.h	(working copy)
@@ -47,7 +47,8 @@  base_reg_class (enum machine_mode mode A
    Arguments as for the REGNO_MODE_CODE_OK_FOR_BASE_P macro.  */
 
 static inline bool
-ok_for_base_p_1 (unsigned regno, enum machine_mode mode ATTRIBUTE_UNUSED,
+ok_for_base_p_1 (unsigned regno ATTRIBUTE_UNUSED,
+		 enum machine_mode mode ATTRIBUTE_UNUSED,
 		 enum rtx_code outer_code ATTRIBUTE_UNUSED,
 		 enum rtx_code index_code ATTRIBUTE_UNUSED)
 {