diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 06:34:54 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 06:34:54 -0400 |
commit | a44492f041c765b8459d52daf16b10c6069a1723 (patch) | |
tree | 0b5db312476423d7385acbcc922bb7ae8ab3b211 | |
parent | 70efc776c83f6ff22c3152e45ff4c2eec17147fc (diff) | |
download | gcc-a44492f041c765b8459d52daf16b10c6069a1723.zip gcc-a44492f041c765b8459d52daf16b10c6069a1723.tar.gz gcc-a44492f041c765b8459d52daf16b10c6069a1723.tar.bz2 |
(emit_library_call): Fix typo in last change; should use Pmode instead
of SImode.
From-SVN: r5673
-rw-r--r-- | gcc/calls.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index da23a6f..286dcdd 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2135,10 +2135,12 @@ emit_library_call (va_alist) #ifdef FUNCTION_ARG_PASS_BY_REFERENCE if (FUNCTION_ARG_PASS_BY_REFERENCE (args_so_far, mode, NULL_TREE, 1)) { + /* We do not support FUNCTION_ARG_CALLEE_COPIES here since it can + be viewed as just an efficiency improvement. */ rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); emit_move_insn (slot, val); val = XEXP (slot, 0); - mode = SImode; + mode = Pmode; } #endif @@ -2470,6 +2472,8 @@ emit_library_call_value (va_alist) #ifdef FUNCTION_ARG_PASS_BY_REFERENCE if (FUNCTION_ARG_PASS_BY_REFERENCE (args_so_far, mode, NULL_TREE, 1)) { + /* We do not support FUNCTION_ARG_CALLEE_COPIES here since it can + be viewed as just an efficiency improvement. */ rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); emit_move_insn (slot, val); val = XEXP (slot, 0); |