summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-11-15 19:13:13 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-11-15 19:13:13 +0000
commit53d3f913ab3435bfad66613c42f31bb7d735f704 (patch)
tree70c134d395144e1ebef9c19377c9988369931b65 /gcc/rtl.c
parent49c0dd591cc5a59616cf3c36c2a46dc4a97c305c (diff)
downloadgcc-53d3f913ab3435bfad66613c42f31bb7d735f704.tar.gz
(rtvec_alloc): Clear rtwint instead of rtvec.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-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;
}