Commit cd39fc13 by Richard Henderson Committed by Richard Henderson

* unroll.c (unroll_loop): Zero label_map.

From-SVN: r51300
parent e7d482b9
2002-03-24 Richard Henderson <rth@redhat.com> 2002-03-24 Richard Henderson <rth@redhat.com>
* unroll.c (unroll_loop): Zero label_map.
* gcse.c: Include except.h. * gcse.c: Include except.h.
* Makefile.in (gcse.o): Update. * Makefile.in (gcse.o): Update.
......
...@@ -721,8 +721,7 @@ unroll_loop (loop, insn_count, strength_reduce_p) ...@@ -721,8 +721,7 @@ unroll_loop (loop, insn_count, strength_reduce_p)
if (max_labelno > 0) 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)); local_label = (char *) xcalloc (max_labelno, sizeof (char));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment