* ifcvt.c (find_if_case_2): Test correct basic block for size.
authorToshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
Fri, 9 Aug 2002 18:04:31 +0000 (18:04 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 9 Aug 2002 18:04:31 +0000 (11:04 -0700)
From-SVN: r56167

gcc/ChangeLog
gcc/ifcvt.c

index a8b9a1901fa790aedd8f4042e45f83ffc241e4f5..76663648b0765b1436b9e48c90d7c05f3d16678b 100644 (file)
@@ -1,4 +1,9 @@
+2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
+
+       * ifcvt.c (find_if_case_2): Test correct basic block for size.
+
 2002-08-09  Dale Johannesen  <dalej@apple.com>
+
        * config/rs6000/rs6000.md: Add sibcall patterns.
        * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
        * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
index ecf0f77c39ccaf3676318e7e75011dd9df94100f..db7140a699870d961d35a2794aa8db0d2909ffda 100644 (file)
@@ -2769,7 +2769,7 @@ find_if_case_2 (test_bb, then_edge, else_edge)
             test_bb->index, else_bb->index);
 
   /* ELSE is small.  */
-  if (count_bb_insns (then_bb) > BRANCH_COST)
+  if (count_bb_insns (else_bb) > BRANCH_COST)
     return FALSE;
 
   /* Registers set are dead, or are predicable.  */