projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc38a1c
)
(rtvec_alloc): Clear rtwint instead of rtvec.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 15 Nov 1996 19:13:13 +0000
(14:13 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 15 Nov 1996 19:13:13 +0000
(14:13 -0500)
From-SVN: r13172
gcc/rtl.c
patch
|
blob
|
history
diff --git
a/gcc/rtl.c
b/gcc/rtl.c
index 7a366b4e46f5a0a402e1b11551d4f50c5a89e07c..b77df812f4d5d08a9922ff19c0025e652c51ee08 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;
}