diff options
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -212,13 +212,13 @@ rtvec_alloc (n) rt = (rtvec) obstack_alloc (rtl_obstack, sizeof (struct rtvec_def) - + (( n - 1) * sizeof (rtunion))); + + (( n - 1) * sizeof (rtx))); /* clear out the vector */ PUT_NUM_ELEM (rt, n); for (i = 0; i < n; i++) - rt->elem[i].rtwint = 0; + rt->elem[i] = 0; return rt; } @@ -477,6 +477,10 @@ copy_most_rtx (orig, may_share) XINT (copy, i) = XINT (orig, i); break; + case 't': + XTREE (copy, i) = XTREE (orig, i); + break; + case 's': case 'S': XSTR (copy, i) = XSTR (orig, i); |