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 4da9e3f..1df0a71 100644 (file)
@@ -1,5 +1,10 @@
 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
        * tree-inline.c (expand_call_inline): Combine profile statuses.
 
index 3e65ba1..2a78018 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;
 }