aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 668e92f..89f800a 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -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);