aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@kss-loka.si>2005-06-07 04:12:13 +0200
committerJeff Law <law@gcc.gnu.org>2005-06-06 20:12:13 -0600
commit67daed71cad6e36170868d7bbd575520d7d8015c (patch)
tree21182bc846906ca81b44af71fcfeed24e3212eec /gcc
parent0ae97690198f2d931d34c19deb451f1e4e3cad90 (diff)
downloadgcc-67daed71cad6e36170868d7bbd575520d7d8015c.zip
gcc-67daed71cad6e36170868d7bbd575520d7d8015c.tar.gz
gcc-67daed71cad6e36170868d7bbd575520d7d8015c.tar.bz2
mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge_lcm.
* mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge_lcm. From-SVN: r100690
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/mode-switching.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c573cea..a4ec6e7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index 57eb1d2..c66fd3c 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -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--)