From 395d53bb1eac6db23ec2e182ba53f1314fe9dfcf Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 15 Nov 1996 14:13:13 -0500 Subject: [PATCH] (rtvec_alloc): Clear rtwint instead of rtvec. From-SVN: r13172 --- gcc/rtl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }