This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/6] Shrink-wrapping
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, amodra at gmail dot com
- Date: Wed, 03 Aug 2011 13:18:21 +0200
- Subject: Re: [PATCH 4/6] Shrink-wrapping
- References: <4D8A0703.9090306@codesourcery.com> <4D8A095C.8050809@codesourcery.com> <g4vcvegnx9.fsf@linaro.org> <4E2766B8.80904@codesourcery.com> <g47h7cufih.fsf@linaro.org> <4E313B82.8050403@codesourcery.com> <20110803104143.GI26813@bubble.grove.modra.org>
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