Commit 7d505b82 by Nick Clifton Committed by Nick Clifton

Use force_operand to make sure that the buffer address is in a suitable form

to be passed to force_reg.

From-SVN: r28334
parent 89693f29
Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
* builtins.c (expand_builtin_setjmp): Use force_operand to
make sure that the buffer address is in a suitable form to be
passed to force_reg.
Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com> Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
* config/mips/mips.c: system.h handles MIN and MAX, don't undefine * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
......
...@@ -306,7 +306,7 @@ expand_builtin_setjmp (buf_addr, target, first_label, next_label) ...@@ -306,7 +306,7 @@ expand_builtin_setjmp (buf_addr, target, first_label, next_label)
buf_addr = convert_memory_address (Pmode, buf_addr); buf_addr = convert_memory_address (Pmode, buf_addr);
#endif #endif
buf_addr = force_reg (Pmode, buf_addr); buf_addr = force_reg (Pmode, force_operand (buf_addr, NULL_RTX));
if (target == 0 || GET_CODE (target) != REG if (target == 0 || GET_CODE (target) != REG
|| REGNO (target) < FIRST_PSEUDO_REGISTER) || REGNO (target) < FIRST_PSEUDO_REGISTER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment