(result_vector): Use INCOMING_REGNO when !savep instead
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 30 Sep 1994 00:02:36 +0000 (17:02 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 30 Sep 1994 00:02:36 +0000 (17:02 -0700)
of when savep.

From-SVN: r8170

gcc/expr.c

index 7c586c81cd663d4637ff76d45a2b3786ef9593d0..217494ca1443dc560a1f1b29569cca04a97048ae 100644 (file)
@@ -7820,7 +7820,7 @@ result_vector (savep, result)
        align = GET_MODE_ALIGNMENT (mode) / BITS_PER_UNIT;
        if (size % align != 0)
          size = CEIL (size, align) * align;
-       reg = gen_rtx (REG, mode, savep ? INCOMING_REGNO (regno) : regno);
+       reg = gen_rtx (REG, mode, savep ? regno : INCOMING_REGNO (regno));
        mem = change_address (result, mode,
                              plus_constant (XEXP (result, 0), size));
        savevec[nelts++] = (savep