diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-06-02 19:27:10 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-06-02 19:27:10 +0000 |
commit | e29525d3df727cf907194af2874d3eb5c774226c (patch) | |
tree | 535e7fc9b7281095e6c2263418cd258260ff427c /gcc/config/microblaze | |
parent | 0633ee10ed6a1b53f5adde1f5832634cd51d26f7 (diff) | |
download | gcc-e29525d3df727cf907194af2874d3eb5c774226c.zip gcc-e29525d3df727cf907194af2874d3eb5c774226c.tar.gz gcc-e29525d3df727cf907194af2874d3eb5c774226c.tar.bz2 |
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
Diffstat (limited to 'gcc/config/microblaze')
-rw-r--r-- | gcc/config/microblaze/microblaze.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index baff67a..8f4768e 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -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; |