mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 19:25:55 +08:00
(rtvec_alloc): Clear rtwint instead of rtvec.
From-SVN: r13172
This commit is contained in:
parent
cc38a1c3dd
commit
395d53bb1e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user