mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 18:35:58 +08:00
(try_combine): Properly copy an rtvec.
From-SVN: r13166
This commit is contained in:
parent
cf85c69b0e
commit
59888de215
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user