]> gcc.gnu.org Git - gcc.git/commitdiff
(jump_optimize): Insert conditional move after jump insn instead of
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 18 Sep 1996 21:57:27 +0000 (17:57 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 18 Sep 1996 21:57:27 +0000 (17:57 -0400)
before.

From-SVN: r12745

gcc/jump.c

index 61d712c6929223a7aa03baeb90ac2c3e483753bc..3ce95201c024e3344e2f0fc8b508e15d71d9403a 100644 (file)
@@ -1140,7 +1140,9 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
                    end_sequence ();
 
                    emit_insns_before (seq1, temp5);
-                   emit_insns_before (seq2, insn);
+                   /* Insert conditional move after insn, to be sure that
+                      the jump and a possible compare won't be separated */
+                   emit_insns_after (seq2, insn);
 
                    /* ??? We can also delete the insn that sets X to A.
                       Flow will do it too though.  */
This page took 0.083526 seconds and 5 git commands to generate.