aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.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/optabs.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/optabs.c')
-rw-r--r--gcc/optabs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 84d38e7..605615d 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -1034,7 +1034,6 @@ expand_doubleword_shift (enum machine_mode op1_mode, optab binoptab,
unsigned HOST_WIDE_INT shift_mask)
{
rtx superword_op1, tmp, cmp1, cmp2;
- rtx subword_label, done_label;
enum rtx_code cmp_code;
/* See if word-mode shifts by BITS_PER_WORD...BITS_PER_WORD * 2 - 1 will
@@ -1119,8 +1118,8 @@ expand_doubleword_shift (enum machine_mode op1_mode, optab binoptab,
#endif
/* As a last resort, use branches to select the correct alternative. */
- subword_label = gen_label_rtx ();
- done_label = gen_label_rtx ();
+ rtx_code_label *subword_label = gen_label_rtx ();
+ rtx_code_label *done_label = gen_label_rtx ();
NO_DEFER_POP;
do_compare_rtx_and_jump (cmp1, cmp2, cmp_code, false, op1_mode,