Fix x86 __throw -O0 -fpic compiler abort.

* except.c (expand_eh_return): Readd force_operand call lost in
	Sept 15 change.

From-SVN: r23606
This commit is contained in:
Jim Wilson 1998-11-11 13:48:34 +00:00 committed by Jim Wilson
parent e97e526319
commit 2a55b8e817
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 11 13:46:13 1998 Jim Wilson <wilson@cygnus.com>
* except.c (expand_eh_return): Readd force_operand call lost in
Sept 15 change.
Tue Nov 10 17:04:11 1998 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case.

View File

@ -2637,7 +2637,9 @@ expand_eh_return ()
#ifdef RETURN_ADDR_OFFSET
tmp = plus_constant (tmp, -RETURN_ADDR_OFFSET);
#endif
emit_move_insn (ra, tmp);
tmp = force_operand (tmp, ra);
if (tmp != ra)
emit_move_insn (ra, tmp);
/* Indicate that the registers are in fact used. */
emit_insn (gen_rtx_USE (VOIDmode, reg1));