diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-25 02:49:09 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-25 02:49:09 +0000 |
commit | 0458bddc247748e87b79c37df282195b565ad985 (patch) | |
tree | 623310f4b0da6372bfc04195c8bffa3d0bea24c8 /gcc/unroll.c | |
parent | a17466fad17ef72e2ff9da9c87e1829b5018e320 (diff) | |
download | gcc-0458bddc247748e87b79c37df282195b565ad985.tar.gz |
* unroll.c (unroll_loop): Zero label_map.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index cc3865641f1..1047ebfb8f5 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -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)); } |