aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-11-15 14:11:57 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-11-15 14:11:57 -0500
commit2710836960b0a77830d03d3c0f254199dae0a724 (patch)
tree08088c8498eb5782a3ca9398d765859b1ba4cfa3 /gcc
parentda3a3ba6bcc8da9f3d39f73fb96d1634c4fb063c (diff)
downloadgcc-2710836960b0a77830d03d3c0f254199dae0a724.zip
gcc-2710836960b0a77830d03d3c0f254199dae0a724.tar.gz
gcc-2710836960b0a77830d03d3c0f254199dae0a724.tar.bz2
(copy_for_inline): Call gen_rtvec_vv.
From-SVN: r13169
Diffstat (limited to 'gcc')
-rw-r--r--gcc/integrate.c2
-rw-r--r--gcc/reload1.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 1c5a4a7..e53bca6 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1148,7 +1148,7 @@ copy_for_inline (orig)
{
register int j;
- XVEC (x, i) = gen_rtvec_v (XVECLEN (x, i), &XVECEXP (x, i, 0));
+ XVEC (x, i) = gen_rtvec_vv (XVECLEN (x, i), XVEC (x, i)->elem);
for (j = 0; j < XVECLEN (x, i); j++)
XVECEXP (x, i, j)
= copy_for_inline (XVECEXP (x, i, j));
diff --git a/gcc/reload1.c b/gcc/reload1.c
index a45e904..4f1168f 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -3166,8 +3166,8 @@ eliminate_regs (x, mem_mode, insn)
new = eliminate_regs (XVECEXP (x, i, j), mem_mode, insn);
if (new != XVECEXP (x, i, j) && ! copied_vec)
{
- rtvec new_v = gen_rtvec_v (XVECLEN (x, i),
- &XVECEXP (x, i, 0));
+ rtvec new_v = gen_rtvec_vv (XVECLEN (x, i),
+ XVEC (x, i)->elem);
if (! copied)
{
rtx new_x = rtx_alloc (code);