projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf85c69
)
(try_combine): Properly copy an rtvec.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 15 Nov 1996 18:36:57 +0000
(13:36 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 15 Nov 1996 18:36:57 +0000
(13:36 -0500)
From-SVN: r13166
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/combine.c
b/gcc/combine.c
index c9a14a70fac2a520d54612a0fa4fd08e6f2a7f66..47caa0751a6e213325b263e14bef224b6da93896 100644
(file)
--- a/
gcc/combine.c
+++ b/
gcc/combine.c
@@
-1669,7
+1669,7
@@
try_combine (i3, i2, i1)
rtvec old = XVEC (newpat, 0);
total_sets = XVECLEN (newpat, 0) + added_sets_1 + added_sets_2;
newpat = gen_rtx (PARALLEL, VOIDmode, rtvec_alloc (total_sets));
- bcopy ((char *) &old->elem[0], (char *)
&XVECEXP (newpat, 0, 0)
,
+ bcopy ((char *) &old->elem[0], (char *)
XVEC (newpat, 0)->elem
,
sizeof (old->elem[0]) * old->num_elem);
}
else