Commit ab040cea by Joern Rennecke Committed by Joern Rennecke

re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)

        PR bootstrap/44756
        * ifcvt.c (noce_emit_cmove): Add ATTRIBUTE_UNUSED to target and
        unsignedp.
        * reload1.c (set_reload_reg): Add ATTRIBUTE_UNUSED to regno.

From-SVN: r166313
parent 844d5fca
......@@ -21,6 +21,11 @@
* emit-rtl.c (gen_rtx_REG): Before using PIC_OFFSET_TABLE_REGNUM
as an index, check it is not INVALID_REGNUM.
PR bootstrap/44756
* ifcvt.c (noce_emit_cmove): Add ATTRIBUTE_UNUSED to target and
unsignedp.
* reload1.c (set_reload_reg): Add ATTRIBUTE_UNUSED to regno.
2010-11-04 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/46213
......@@ -1333,8 +1333,8 @@ static rtx
noce_emit_cmove (struct noce_if_info *if_info, rtx x, enum rtx_code code,
rtx cmp_a, rtx cmp_b, rtx vfalse, rtx vtrue)
{
rtx target;
int unsignedp;
rtx target ATTRIBUTE_UNUSED;
int unsignedp ATTRIBUTE_UNUSED;
/* If earliest == jump, try to build the cmove insn directly.
This is helpful when combine has created some complex condition
......
......@@ -6025,7 +6025,9 @@ failed_reload (rtx insn, int r)
static int
set_reload_reg (int i, int r)
{
int regno;
/* regno is 'set but not used' if HARD_REGNO_MODE_OK doesn't use its first
parameter. */
int regno ATTRIBUTE_UNUSED;
rtx reg = spill_reg_rtx[i];
if (reg == 0 || GET_MODE (reg) != rld[r].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