* 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 c6e118f..761dcbf 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 1b7b382..139ab70 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 ());
 }