summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/rtl.c7
1 files 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;
}