]> gcc.gnu.org Git - gcc.git/commitdiff
ifcvt.c (find_if_case_1): If we add a new bb, update the dominance information.
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 20 Mar 2003 16:49:24 +0000 (16:49 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 20 Mar 2003 16:49:24 +0000 (16:49 +0000)
* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
information.

From-SVN: r64618

gcc/ChangeLog
gcc/ifcvt.c

index b79f2bd6b54389a10aa14e73b45f69571cf41962..7ac8fc88f071feaa0a8b516c4eeb49715ae53ae8 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-20 Richard Earnshaw  <rearnsha@arm.com>
+
+       * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
+       information.
+
 2003-03-20  Per Bothner  <pbothner@apple.com>
 
        Various cleanups to help compile server.
index ed04aefed644258867ff908b5003b2db1b052dd6..0cfd06f3029677426fe4099705890db164ae37e1 100644 (file)
@@ -2741,6 +2741,8 @@ find_if_case_1 (test_bb, then_edge, else_edge)
     {
       new_bb->index = then_bb_index;
       BASIC_BLOCK (then_bb_index) = new_bb;
+      if (post_dominators)
+       add_to_dominance_info (post_dominators, new_bb);
     }
   /* We've possibly created jump to next insn, cleanup_cfg will solve that
      later.  */
This page took 0.076088 seconds and 5 git commands to generate.