Commit 2a55b8e8 by Jim Wilson Committed by Jim Wilson

Fix x86 __throw -O0 -fpic compiler abort.

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

From-SVN: r23606
parent e97e5263
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> Tue Nov 10 17:04:11 1998 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case. * rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case.
......
...@@ -2637,7 +2637,9 @@ expand_eh_return () ...@@ -2637,7 +2637,9 @@ expand_eh_return ()
#ifdef RETURN_ADDR_OFFSET #ifdef RETURN_ADDR_OFFSET
tmp = plus_constant (tmp, -RETURN_ADDR_OFFSET); tmp = plus_constant (tmp, -RETURN_ADDR_OFFSET);
#endif #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. */ /* Indicate that the registers are in fact used. */
emit_insn (gen_rtx_USE (VOIDmode, reg1)); emit_insn (gen_rtx_USE (VOIDmode, reg1));
......
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