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
This commit is contained in:
Joern Rennecke 2010-11-05 16:27:25 +00:00 committed by Joern Rennecke
parent 7f7c6d9158
commit 6ab31ade8b
3 changed files with 8 additions and 2 deletions

View File

@ -43,6 +43,11 @@
* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
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>
* cfgexpand.c (expand_debug_expr): Handle MEM_REF

View File

@ -2261,7 +2261,8 @@ can_store_by_pieces (unsigned HOST_WIDE_INT len,
enum machine_mode mode, tmode;
enum insn_code icode;
int reverse;
rtx cst;
/* cst is set but not used if LEGITIMATE_CONSTANT doesn't use it. */
rtx cst ATTRIBUTE_UNUSED;
if (len == 0)
return 1;

View File

@ -709,7 +709,7 @@ setup_ref_regs (rtx x)
static void
initiate_bb_reg_pressure_info (basic_block bb)
{
unsigned int i;
unsigned int i ATTRIBUTE_UNUSED;
rtx insn;
if (current_nr_blocks > 1)