Commit e40a0b69 by Bernd Schmidt Committed by Bernd Schmidt

re PR rtl-optimization/49891 (ICE in redirect_jump_1)

	PR rtl-optimization/49891
	* cfgrtl.c (force_nonfallthru_and_redirect): Set JUMP_LABEL for
	newly created returnjumps.

From-SVN: r176905
parent 69135c94
2011-07-29 Bernd Schmidt <bernds@codesourcery.com>
PR rtl-optimization/49891
* cfgrtl.c (force_nonfallthru_and_redirect): Set JUMP_LABEL for
newly created returnjumps.
2011-07-28 DJ Delorie <dj@redhat.com>
* expr.c (expand_expr_addr_expr_1): Detect a user request for a
......
......@@ -1254,6 +1254,7 @@ force_nonfallthru_and_redirect (edge e, basic_block target)
{
#ifdef HAVE_return
emit_jump_insn_after_setloc (gen_return (), BB_END (jump_block), loc);
JUMP_LABEL (BB_END (jump_block)) = ret_rtx;
#else
gcc_unreachable ();
#endif
......
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