Commit 6ab31ade by Joern Rennecke Committed by Joern Rennecke

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

	PR bootstrap/44756
	* expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
	* haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
	to i.

From-SVN: r166366
parent 7f7c6d91
...@@ -43,6 +43,11 @@ ...@@ -43,6 +43,11 @@
* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before * expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
comparing it to a signed value. comparing it to a signed value.
PR bootstrap/44756
* expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
* haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
to i.
2010-11-05 Jakub Jelinek <jakub@redhat.com> 2010-11-05 Jakub Jelinek <jakub@redhat.com>
* cfgexpand.c (expand_debug_expr): Handle MEM_REF * cfgexpand.c (expand_debug_expr): Handle MEM_REF
...@@ -2261,7 +2261,8 @@ can_store_by_pieces (unsigned HOST_WIDE_INT len, ...@@ -2261,7 +2261,8 @@ can_store_by_pieces (unsigned HOST_WIDE_INT len,
enum machine_mode mode, tmode; enum machine_mode mode, tmode;
enum insn_code icode; enum insn_code icode;
int reverse; int reverse;
rtx cst; /* cst is set but not used if LEGITIMATE_CONSTANT doesn't use it. */
rtx cst ATTRIBUTE_UNUSED;
if (len == 0) if (len == 0)
return 1; return 1;
......
...@@ -709,7 +709,7 @@ setup_ref_regs (rtx x) ...@@ -709,7 +709,7 @@ setup_ref_regs (rtx x)
static void static void
initiate_bb_reg_pressure_info (basic_block bb) initiate_bb_reg_pressure_info (basic_block bb)
{ {
unsigned int i; unsigned int i ATTRIBUTE_UNUSED;
rtx insn; rtx insn;
if (current_nr_blocks > 1) if (current_nr_blocks > 1)
......
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