* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
authorRichard Henderson <rth@cygnus.com>
Thu, 4 May 2000 23:23:45 +0000 (16:23 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 4 May 2000 23:23:45 +0000 (16:23 -0700)
From-SVN: r33690

gcc/ChangeLog
gcc/ifcvt.c

index 2a90789f4ac9939d10825d6f1b24b3bd9497864c..277856203eb5697d8212e7697341103c3c4194c3 100644 (file)
@@ -1,3 +1,7 @@
+2000-05-04  Richard Henderson  <rth@cygnus.com>
+
+       * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
+
 2000-05-04  Richard Henderson  <rth@cygnus.com>
 
        * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
index 79be885fc15c0cbae251420ca7577483a5fbcd4b..f1b8a952b7225113c2bc5f0a3e9b37ec69affed4 100644 (file)
@@ -1139,8 +1139,8 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb)
            else_bb->end = PREV_INSN (insn_b);
          reorder_insns (insn_b, insn_b, PREV_INSN (if_info.cond_earliest));
          insn_b = NULL_RTX;
-         x = orig_x;
        }
+      x = orig_x;
       goto success;
     }