aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mips.c
diff options
context:
space:
mode:
authorTrevor Saunders <tsaunders@mozilla.com>2014-09-03 00:52:11 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2014-09-03 00:52:11 +0000
commit19f8b22971b1aeaa929eb3e3834cc24da1932f12 (patch)
treee28f89f967e112a1f7b08b7f9ca06abd3d852eef /gcc/config/mips/mips.c
parentb20ee094dfddac8641eca9248998e89686f8ba38 (diff)
downloadgcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.zip
gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.gz
gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.bz2
use rtx_code_label more
gcc/ * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c, config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md, config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c, config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c, config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc, config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c, stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead of rtx. From-SVN: r214841
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r--gcc/config/mips/mips.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 22afcad..3e77491 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -7455,7 +7455,7 @@ mips_expand_synci_loop (rtx begin, rtx end)
length = mips_force_binary (Pmode, MINUS, end, begin);
/* Loop back to here. */
- label = gen_label_rtx ();
+ label = gen_label_rtx ();
emit_label (label);
emit_insn (gen_synci (begin));
@@ -12465,7 +12465,7 @@ mips_output_conditional_branch (rtx_insn *insn, rtx *operands,
const char *branch_if_false)
{
unsigned int length;
- rtx taken, not_taken;
+ rtx taken;
gcc_assert (LABEL_P (operands[0]));
@@ -12480,7 +12480,7 @@ mips_output_conditional_branch (rtx_insn *insn, rtx *operands,
/* Generate a reversed branch around a direct jump. This fallback does
not use branch-likely instructions. */
mips_branch_likely = false;
- not_taken = gen_label_rtx ();
+ rtx_code_label *not_taken = gen_label_rtx ();
taken = operands[0];
/* Generate the reversed branch to NOT_TAKEN. */
@@ -16436,7 +16436,8 @@ mips16_split_long_branches (void)
&& get_attr_length (insn) > 4
&& (any_condjump_p (insn) || any_uncondjump_p (insn)))
{
- rtx old_label, new_label, temp, saved_temp;
+ rtx old_label, temp, saved_temp;
+ rtx_code_label *new_label;
rtx target;
rtx_insn *jump, *jump_sequence;
@@ -16465,7 +16466,7 @@ mips16_split_long_branches (void)
if (simplejump_p (insn))
/* We're going to replace INSN with a longer form. */
- new_label = NULL_RTX;
+ new_label = NULL;
else
{
/* Create a branch-around label for the original