OSDN Git Service

(result_vector): Use INCOMING_REGNO when !savep instead
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 1994 00:02:36 +0000 (00:02 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 1994 00:02:36 +0000 (00:02 +0000)
of when savep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8170 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expr.c

index 7c586c8..217494c 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