On 08/03/11 12:41, Alan Modra wrote: > This patch makes rebuild_jump_labels set JUMP_LABEL appropriately > for return jumps, and fixes sharing for RETURN. Since ANY_RETURN_P(X) > is defined as ((X) == ret_rtx), RETURNs need to stay shared. > Bootstrapped and regression tested powerpc-linux and powerpc64-linux. > OK to apply? > > PR rtl-optimization/49941 > * jump.c (mark_jump_label): Comment. > (mark_jump_label_1): Set JUMP_LABEL for return jumps. > * emit-rtl.c (copy_rtx_if_shared_1, copy_insn_1): Leave RETURN shared. > (mark_used_flags): Don't mark RETURN.
Ok, thanks. Bernd