OSDN Git Service

(copy_for_inline): Call gen_rtvec_vv.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Nov 1996 19:11:57 +0000 (19:11 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Nov 1996 19:11:57 +0000 (19:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13169 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/integrate.c
gcc/reload1.c

index 1c5a4a7..e53bca6 100644 (file)
@@ -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));
index a45e904..4f1168f 100644 (file)
@@ -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);