diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5ea2529c3f..e931c1acb08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 11 13:46:13 1998 Jim Wilson + + * except.c (expand_eh_return): Readd force_operand call lost in + Sept 15 change. + Tue Nov 10 17:04:11 1998 David Edelsohn * rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case. diff --git a/gcc/except.c b/gcc/except.c index 6fa37f09718..ae6ede2f112 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -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));