diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-09-29 16:59:45 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-09-29 16:59:45 -0700 |
commit | 8301b6e2638feff627a0fc734d716ab41f4c5c94 (patch) | |
tree | 327fc663975b98ba61e355761193e6c210ef8d5c /gcc | |
parent | efbde2a29f3f9398192ad6a3a9978b4497259296 (diff) | |
download | gcc-8301b6e2638feff627a0fc734d716ab41f4c5c94.zip gcc-8301b6e2638feff627a0fc734d716ab41f4c5c94.tar.gz gcc-8301b6e2638feff627a0fc734d716ab41f4c5c94.tar.bz2 |
(emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
pass address through force_operand before using it.
From-SVN: r8169
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 9d71a7e..35e600e 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2203,7 +2203,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, 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); + val = force_operand (XEXP (slot, 0), NULL_RTX); mode = Pmode; } #endif |