* regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167596
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/46844
+ * regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
+ parameter.
+
2010-12-08 Richard Earnshaw <rearnsha@arm.com>
PR target/46631
registers. */
static bool
-check_new_reg_p (int reg, int new_reg, struct du_head *this_head,
- HARD_REG_SET this_unavailable)
+check_new_reg_p (int reg ATTRIBUTE_UNUSED, int new_reg,
+ struct du_head *this_head, HARD_REG_SET this_unavailable)
{
enum machine_mode mode = GET_MODE (*this_head->first->loc);
int nregs = hard_regno_nregs[new_reg][mode];