aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-11-15 14:13:13 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-11-15 14:13:13 -0500
commit395d53bb1eac6db23ec2e182ba53f1314fe9dfcf (patch)
tree70c134d395144e1ebef9c19377c9988369931b65 /gcc/rtl.c
parentcc38a1c3dd81d4047f980ef727ab8de6afefc691 (diff)
downloadgcc-395d53bb1eac6db23ec2e182ba53f1314fe9dfcf.zip
gcc-395d53bb1eac6db23ec2e182ba53f1314fe9dfcf.tar.gz
gcc-395d53bb1eac6db23ec2e182ba53f1314fe9dfcf.tar.bz2
(rtvec_alloc): Clear rtwint instead of rtvec.
From-SVN: r13172
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 7a366b4..b77df81 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;
}