aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-09-29 17:02:36 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-09-29 17:02:36 -0700
commit18992995996f35db9c1afa53d70485284dce54e6 (patch)
treedc51e5c20e9eff8308e76725ac38a72533208023
parent8301b6e2638feff627a0fc734d716ab41f4c5c94 (diff)
downloadgcc-18992995996f35db9c1afa53d70485284dce54e6.zip
gcc-18992995996f35db9c1afa53d70485284dce54e6.tar.gz
gcc-18992995996f35db9c1afa53d70485284dce54e6.tar.bz2
(result_vector): Use INCOMING_REGNO when !savep instead
of when savep. From-SVN: r8170
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 7c586c8..217494c 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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