From: Richard Kenner Date: Fri, 15 Nov 1996 19:13:13 +0000 (-0500) Subject: (rtvec_alloc): Clear rtwint instead of rtvec. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=395d53bb1eac6db23ec2e182ba53f1314fe9dfcf;p=gcc.git (rtvec_alloc): Clear rtwint instead of rtvec. From-SVN: r13172 --- diff --git a/gcc/rtl.c b/gcc/rtl.c index 7a366b4e46f..b77df812f4d 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -196,9 +196,10 @@ rtvec_alloc (n) + (( n - 1) * sizeof (rtunion))); /* clear out the vector */ - PUT_NUM_ELEM(rt, n); - for (i=0; i < n; i++) - rt->elem[i].rtvec = NULL; /* @@ not portable due to rtunion */ + PUT_NUM_ELEM (rt, n); + + for (i = 0; i < n; i++) + rt->elem[i].rtwint = 0; return rt; }