diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2014-09-03 00:52:11 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2014-09-03 00:52:11 +0000 |
commit | 19f8b22971b1aeaa929eb3e3834cc24da1932f12 (patch) | |
tree | e28f89f967e112a1f7b08b7f9ca06abd3d852eef /gcc/config/mips | |
parent | b20ee094dfddac8641eca9248998e89686f8ba38 (diff) | |
download | gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.gz |
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')
-rw-r--r-- | gcc/config/mips/mips.c | 11 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 16 |
2 files changed, 14 insertions, 13 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 22afcadb070..3e7749180c1 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 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 9c404ddf923..d47bb784c12 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -3729,8 +3729,8 @@ rtx reg1 = gen_reg_rtx (DFmode); rtx reg2 = gen_reg_rtx (DFmode); rtx reg3 = gen_reg_rtx (SImode); - rtx label1 = gen_label_rtx (); - rtx label2 = gen_label_rtx (); + rtx_code_label *label1 = gen_label_rtx (); + rtx_code_label *label2 = gen_label_rtx (); rtx test; REAL_VALUE_TYPE offset; @@ -3775,8 +3775,8 @@ rtx reg1 = gen_reg_rtx (DFmode); rtx reg2 = gen_reg_rtx (DFmode); rtx reg3 = gen_reg_rtx (DImode); - rtx label1 = gen_label_rtx (); - rtx label2 = gen_label_rtx (); + rtx_code_label *label1 = gen_label_rtx (); + rtx_code_label *label2 = gen_label_rtx (); rtx test; REAL_VALUE_TYPE offset; @@ -3818,8 +3818,8 @@ rtx reg1 = gen_reg_rtx (SFmode); rtx reg2 = gen_reg_rtx (SFmode); rtx reg3 = gen_reg_rtx (SImode); - rtx label1 = gen_label_rtx (); - rtx label2 = gen_label_rtx (); + rtx_code_label *label1 = gen_label_rtx (); + rtx_code_label *label2 = gen_label_rtx (); rtx test; REAL_VALUE_TYPE offset; @@ -3861,8 +3861,8 @@ rtx reg1 = gen_reg_rtx (SFmode); rtx reg2 = gen_reg_rtx (SFmode); rtx reg3 = gen_reg_rtx (DImode); - rtx label1 = gen_label_rtx (); - rtx label2 = gen_label_rtx (); + rtx_code_label *label1 = gen_label_rtx (); + rtx_code_label *label2 = gen_label_rtx (); rtx test; REAL_VALUE_TYPE offset; |