diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-11-21 06:15:00 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-11-21 06:15:00 +0000 |
commit | f370536c9c6a1eca30fe9685b9cbcb8dca681e36 (patch) | |
tree | 24ad242f10b1cf079626ce1eecf038554e53022c /gcc/config/spu | |
parent | d8485bdb18df66b06cfee57503cfbf35cef591e7 (diff) | |
download | gcc-f370536c9c6a1eca30fe9685b9cbcb8dca681e36.zip gcc-f370536c9c6a1eca30fe9685b9cbcb8dca681e36.tar.gz gcc-f370536c9c6a1eca30fe9685b9cbcb8dca681e36.tar.bz2 |
split up variables to use rtx_insn * more
gcc/ChangeLog:
2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* config/aarch64/aarch64.c (aarch64_emit_unlikely_jump): split
up variables to make some rtx_insn *.
* config/alpha/alpha.c (emit_unlikely_jump): Likewise.
* config/arc/arc.c: Likewise.
* config/arm/arm.c: Likewise.
* config/mn10300/mn10300.c (mn10300_legitimize_pic_address):
Likewise.
* config/rs6000/rs6000.c (rs6000_expand_split_stack_prologue):
Likewise.
* config/spu/spu.c (spu_emit_branch_hint): Likewise.
From-SVN: r242650
Diffstat (limited to 'gcc/config/spu')
-rw-r--r-- | gcc/config/spu/spu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 820924e..e8a3ed9 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -2087,7 +2087,6 @@ static void spu_emit_branch_hint (rtx_insn *before, rtx_insn *branch, rtx target, int distance, sbitmap blocks) { - rtx branch_label = 0; rtx_insn *hint; rtx_insn *insn; rtx_jump_table_data *table; @@ -2104,14 +2103,14 @@ spu_emit_branch_hint (rtx_insn *before, rtx_insn *branch, rtx target, if (NOTE_INSN_BASIC_BLOCK_P (before)) before = NEXT_INSN (before); - branch_label = gen_label_rtx (); + rtx_code_label *branch_label = gen_label_rtx (); LABEL_NUSES (branch_label)++; LABEL_PRESERVE_P (branch_label) = 1; insn = emit_label_before (branch_label, branch); - branch_label = gen_rtx_LABEL_REF (VOIDmode, branch_label); + rtx branch_label_ref = gen_rtx_LABEL_REF (VOIDmode, branch_label); bitmap_set_bit (blocks, BLOCK_FOR_INSN (branch)->index); - hint = emit_insn_before (gen_hbr (branch_label, target), before); + hint = emit_insn_before (gen_hbr (branch_label_ref, target), before); recog_memoized (hint); INSN_LOCATION (hint) = INSN_LOCATION (branch); HINTED_P (branch) = 1; |