mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 19:45:37 +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)));
|
+ (( n - 1) * sizeof (rtunion)));
|
||||||
|
|
||||||
/* clear out the vector */
|
/* clear out the vector */
|
||||||
PUT_NUM_ELEM(rt, n);
|
PUT_NUM_ELEM (rt, n);
|
||||||
for (i=0; i < n; i++)
|
|
||||||
rt->elem[i].rtvec = NULL; /* @@ not portable due to rtunion */
|
for (i = 0; i < n; i++)
|
||||||
|
rt->elem[i].rtwint = 0;
|
||||||
|
|
||||||
return rt;
|
return rt;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user