===================================================================
@@ -1,3 +1,9 @@
+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,
{
#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
On 07/29/11 00:31, Richard Earnshaw wrote: > This causes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49891 Fixed with this. Bernd