]> gcc.gnu.org Git - gcc.git/commitdiff
optabs.c: (expand_bool_compare_and_swap): Emit barrier after unconditional jump.
authorAdrian Straetling <straetling@de.ibm.com>
Thu, 2 Jun 2005 19:46:38 +0000 (19:46 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 2 Jun 2005 19:46:38 +0000 (19:46 +0000)
2005-06-02  Adrian Straetling  <straetling@de.ibm.com>

* optabs.c: (expand_bool_compare_and_swap): Emit barrier after
  unconditional jump.

From-SVN: r100508

gcc/ChangeLog
gcc/optabs.c

index 407911ec2f7cd98dc262fa825b1da510aadc188e..766c4e29dc1653d87a732a1ce5380e3c079cd7c2 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-02  Adrian Straetling  <straetling@de.ibm.com>
+
+       * optabs.c: (expand_bool_compare_and_swap): Emit barrier after
+         unconditional jump.
+
 2005-06-02  Jan Hubicka  <jh@suse.cz>
 
        * cgraph.c (cgraph_node): Maintain master clones.
index d3c4934c544743ed340ff27df8886854a5b745d2..2e84ac3a0b85f26b4c77a05a357527202abae4cd 100644 (file)
@@ -5627,6 +5627,7 @@ expand_bool_compare_and_swap (rtx mem, rtx old_val, rtx new_val, rtx target)
   emit_jump_insn (bcc_gen_fctn[EQ] (label0));
   emit_move_insn (target, const0_rtx);
   emit_jump_insn (gen_jump (label1));
+  emit_barrier ();
   emit_label (label0);
   emit_move_insn (target, const1_rtx);
   emit_label (label1);
This page took 0.093278 seconds and 5 git commands to generate.