* config/arm/arm.c (emit_unlikely_jump): Remove unused var.
authorBin Cheng <bin.cheng@arm.com>
Tue, 18 Jul 2017 08:34:37 +0000 (08:34 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 18 Jul 2017 08:34:37 +0000 (08:34 +0000)
From-SVN: r250299

gcc/ChangeLog
gcc/config/arm/arm.c

index c6e118f1b95daebee4ee7d7aee657cbfc4edad33..761dcbf4031bf7d94d24f5586de962e691b5aed4 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-18  Bin Cheng  <bin.cheng@arm.com>
+
+       * config/arm/arm.c (emit_unlikely_jump): Remove unused var.
+
 2017-07-18  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/80620
index 1b7b382139e281b0812e57c7826eb042a9aac305..139ab701a956c27f40d23529f065c535ed8e19fd 100644 (file)
@@ -28268,8 +28268,6 @@ arm_emit_store_exclusive (machine_mode mode, rtx bval, rtx rval,
 static void
 emit_unlikely_jump (rtx insn)
 {
-  int very_unlikely = REG_BR_PROB_BASE / 100 - 1;
-
   rtx_insn *jump = emit_jump_insn (insn);
   add_reg_br_prob_note (jump, profile_probability::very_unlikely ());
 }