From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9806 invoked by alias); 3 Aug 2011 11:19:35 -0000 Received: (qmail 9798 invoked by uid 22791); 3 Aug 2011 11:19:34 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Aug 2011 11:19:10 +0000 Received: (qmail 13713 invoked from network); 3 Aug 2011 11:19:10 -0000 Received: from unknown (HELO ?84.152.208.217?) (bernds@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Aug 2011 11:19:10 -0000 Message-ID: <4E392E7D.6010106@codesourcery.com> Date: Wed, 03 Aug 2011 11:19:00 -0000 From: Bernd Schmidt User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110801 Lightning/1.0b3pre Thunderbird/3.1.11 MIME-Version: 1.0 To: GCC Patches , amodra@gmail.com Subject: Re: [PATCH 4/6] Shrink-wrapping References: <4D8A0703.9090306@codesourcery.com> <4D8A095C.8050809@codesourcery.com> <4E2766B8.80904@codesourcery.com> <4E313B82.8050403@codesourcery.com> <20110803104143.GI26813@bubble.grove.modra.org> In-Reply-To: <20110803104143.GI26813@bubble.grove.modra.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00302.txt.bz2 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