(rtvec_alloc): Clear rtwint instead of rtvec.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 15 Nov 1996 19:13:13 +0000 (14:13 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 15 Nov 1996 19:13:13 +0000 (14:13 -0500)
From-SVN: r13172

gcc/rtl.c

index 7a366b4..b77df81 100644 (file)
--- 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;
 }