mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge...
authorUros Bizjak <uros@kss-loka.si>
Tue, 7 Jun 2005 02:12:13 +0000 (04:12 +0200)
committerJeff Law <law@gcc.gnu.org>
Tue, 7 Jun 2005 02:12:13 +0000 (20:12 -0600)
        * mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
in call to pre_edge_lcm.

From-SVN: r100690

gcc/ChangeLog
gcc/mode-switching.c

index c573ceaa7c0b7b2c9efa2dacd3535e4b9bdc886e..a4ec6e743f9d9bce999f4f98407f9263c880143e 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-06  Uros Bizjak  <uros@kss-loka.si>
+
+       * mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
+       in call to pre_edge_lcm.
+
 2005-06-06  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
index 57eb1d21dc1528d03e296f3a81920fa9498868ec..c66fd3c5998153a98da60ed1235da56cddc4dd32 100644 (file)
@@ -549,7 +549,7 @@ optimize_mode_switching (FILE *file)
 
       FOR_EACH_BB (bb)
        sbitmap_not (kill[bb->index], transp[bb->index]);
-      edge_list = pre_edge_lcm (file, 1, transp, comp, antic,
+      edge_list = pre_edge_lcm (file, n_entities, transp, comp, antic,
                                kill, &insert, &delete);
 
       for (j = n_entities - 1; j >= 0; j--)