* unroll.c (unroll_loop): Zero label_map.

From-SVN: r51300
This commit is contained in:
Richard Henderson 2002-03-24 18:49:09 -08:00 committed by Richard Henderson
parent e7d482b9e4
commit cd39fc1318
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2002-03-24 Richard Henderson <rth@redhat.com>
* unroll.c (unroll_loop): Zero label_map.
* gcse.c: Include except.h.
* Makefile.in (gcse.o): Update.

View file

@ -721,8 +721,7 @@ unroll_loop (loop, insn_count, strength_reduce_p)
if (max_labelno > 0)
{
map->label_map = (rtx *) xmalloc (max_labelno * sizeof (rtx));
map->label_map = (rtx *) xcalloc (max_labelno, sizeof (rtx));
local_label = (char *) xcalloc (max_labelno, sizeof (char));
}