pa.c (pa_expand_compare_and_swap_loop): Update call of emit_cmp_and_jump_insns.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 1 Jul 2017 07:28:27 +0000 (09:28 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 1 Jul 2017 07:28:27 +0000 (07:28 +0000)
* pa.c (pa_expand_compare_and_swap_loop): Update call of
emit_cmp_and_jump_insns.

From-SVN: r249862

gcc/ChangeLog
gcc/config/pa/pa.c

index 4da9e3f147fdddd3957ef617b7d91791cd59fdc0..1df0a7166b7dec52590e769ca5141e15ab9db969 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-29  Jan Hubicka  <hubicka@ucw.cz>
+
+       * pa.c (pa_expand_compare_and_swap_loop): Update call of
+       emit_cmp_and_jump_insns.
+
 2017-06-29  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/81261
index 3e65ba1db59d14bca40f221120dcc0d3735a9f21..2a78018650c24353c6db293d30256c0e89d3d24e 100644 (file)
@@ -10723,7 +10723,8 @@ pa_expand_compare_and_swap_loop (rtx mem, rtx old_reg, rtx new_reg, rtx seq)
 
   /* Mark this jump predicted not taken.  */
   emit_cmp_and_jump_insns (success, const0_rtx, EQ, const0_rtx,
-                           GET_MODE (success), 1, label, 0);
+                           GET_MODE (success), 1, label,
+                          profile_probability::guessed_never ());
   return true;
 }