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
This commit is contained in:
Uros Bizjak 2005-06-07 04:12:13 +02:00 committed by Jeff Law
parent 0ae9769019
commit 67daed71ca
2 changed files with 6 additions and 1 deletions

View 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.

View 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--)