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

to be passed to force_reg.

From-SVN: r28334
This commit is contained in:
Nick Clifton 1999-07-29 08:23:27 +00:00 committed by Nick Clifton
parent 89693f2927
commit 7d505b82b3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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>
* config/mips/mips.c: system.h handles MIN and MAX, don't undefine

View File

@ -306,7 +306,7 @@ expand_builtin_setjmp (buf_addr, target, first_label, next_label)
buf_addr = convert_memory_address (Pmode, buf_addr);
#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
|| REGNO (target) < FIRST_PSEUDO_REGISTER)