From patchwork Thu Jul 28 22:47:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Schmidt X-Patchwork-Id: 107382 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id B1D8CB6F64 for ; Fri, 29 Jul 2011 22:14:49 +1000 (EST) Received: (qmail 15064 invoked by alias); 29 Jul 2011 12:14:47 -0000 Received: (qmail 15053 invoked by uid 22791); 29 Jul 2011 12:14:45 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Fri, 29 Jul 2011 12:14:31 +0000 Received: (qmail 11262 invoked from network); 28 Jul 2011 22:47:50 -0000 Received: from unknown (HELO ?84.152.185.166?) (bernds@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jul 2011 22:47:50 -0000 Message-ID: <4E31E6F5.4070303@codesourcery.com> Date: Fri, 29 Jul 2011 00:47:17 +0200 From: Bernd Schmidt User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110715 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: Richard Earnshaw CC: GCC Patches , richard.sandiford@linaro.org Subject: Re: [PATCH 4/6] Shrink-wrapping References: <4D8A0703.9090306@codesourcery.com> <4D8A095C.8050809@codesourcery.com> <4E2766B8.80904@codesourcery.com> <4E313B82.8050403@codesourcery.com> <4E31E35E.501@buzzard.freeserve.co.uk> In-Reply-To: <4E31E35E.501@buzzard.freeserve.co.uk> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 176904) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2011-07-29 Bernd Schmidt + + PR rtl-optimization/49891 + * cfgrtl.c (force_nonfallthru_and_redirect): Set JUMP_LABEL for + newly created returnjumps. + 2011-07-28 DJ Delorie * expr.c (expand_expr_addr_expr_1): Detect a user request for a Index: gcc/cfgrtl.c =================================================================== --- gcc/cfgrtl.c (revision 176881) +++ gcc/cfgrtl.c (working copy) @@ -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