Commit e29525d3 by David Malcolm Committed by David Malcolm

microblaze.c: fix warnings

gcc/ChangeLog:
	* config/microblaze/microblaze.c (get_branch_target): Add return
	NULL_RTX for the non-CALL_P case.
	(insert_wic_for_ilb_runout): Remove unused local "wic_addr1".
	(insert_wic): Remove unused local "j".

From-SVN: r237044
parent 0633ee10
2016-06-02 David Malcolm <dmalcolm@redhat.com>
* config/microblaze/microblaze.c (get_branch_target): Add return
NULL_RTX for the non-CALL_P case.
(insert_wic_for_ilb_runout): Remove unused local "wic_addr1".
(insert_wic): Remove unused local "j".
2016-06-02 Martin Liska <mliska@suse.cz>
* predict.def: Fix typo in PRED_FORTRAN_FAIL_IO display name.
......
......@@ -3624,6 +3624,8 @@ get_branch_target (rtx branch)
abort ();
return XEXP (XEXP (call, 0), 0);
}
return NULL_RTX;
}
/* Heuristics to identify where to insert at the
......@@ -3650,7 +3652,6 @@ insert_wic_for_ilb_runout (rtx_insn *first)
int addr_offset = 0;
int length;
int wic_addr0 = 128 * 4;
int wic_addr1 = 128 * 4;
int first_addr = INSN_ADDRESSES (INSN_UID (first));
......@@ -3693,7 +3694,7 @@ static void
insert_wic (void)
{
rtx_insn *insn;
int i, j;
int i;
basic_block bb, prev = 0;
rtx branch_target = 0;
......
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