(do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 23 Jan 1994 23:56:41 +0000 (18:56 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 23 Jan 1994 23:56:41 +0000 (18:56 -0500)
before trying to invert it.

From-SVN: r6418

gcc/expr.c

index b499ffc15e23d219fb419b68c9e24145dd7f68e9..bdf0b701c552e57b8ca02dbe7abecff0fa04d44a 100644 (file)
@@ -8770,6 +8770,7 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
       if (branch != get_last_insn ())
        abort ();
 
+      JUMP_LABEL (branch) = if_false_label;
       if (! invert_jump (branch, if_false_label))
        {
          if_true_label = gen_label_rtx ();