Commit 6a68a5c3 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/46844 (regrename.c:312:22: error: unused parameter 'reg')

	PR middle-end/46844
	* regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
	parameter.

From-SVN: r167596
parent c994a0ce
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
......@@ -309,8 +309,8 @@ sort_du_head (struct du_head **head)
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];
......
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