From patchwork Fri Aug 23 14:38:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Johnson X-Patchwork-Id: 269473 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7B7AE2C008E for ; Sat, 24 Aug 2013 00:39:09 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=KVO8MC0FO60yP78xsguYcF4OHtW7SOGECrZvfjEoEl+0Pn hnFta3KWAljqXWOcS2KOnovk4U7kkamhGL0H5joLN9KARGSA2SNLsDU83z5fgib7 HxyGaL8bx8N0Z/bsm85Ly9lCmorJPvlxeMJcxLrNDmwpAP45BWQHthJsSOQlc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=DQwFg0ErMQP0nzy6p9H3pg13Uoo=; b=MOtbYc1Yoh15ZCXo0Y5+ 2RcFfPLAn3EolvhSywvzn+VAh6xe/Sz9bPFlw4efrANx3W6dnGvKtOKd8VsbjgNK tE6ucf4n/w1AfOJ3VNXQXF6FWjUxndQiQod6xEpTxxTniQaAeqQlhEwzXUGBITeU BIk2p2nUsfF9Lis+spu7UNg= Received: (qmail 27706 invoked by alias); 23 Aug 2013 14:38:29 -0000 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 Received: (qmail 27662 invoked by uid 89); 23 Aug 2013 14:38:29 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 Received: from mail-qa0-f47.google.com (HELO mail-qa0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 23 Aug 2013 14:38:28 +0000 Received: by mail-qa0-f47.google.com with SMTP id o19so20858qap.6 for ; Fri, 23 Aug 2013 07:38:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=zF5JDW0xVDkA8fAzSW6oAYBalmqkTb3vQIVLgC9DGMQ=; b=dW9HZR50hcpyhtuvTGUhy8Ahf6qoJky8M7hZNUaNW6vrDAEObEhYuWaNvsaT0DSLAZ Ew1R7ID+fQRMZxIoidW6InS7TU9q9v5Jnny89ExQyFsZD18GyyCUNp7F/VwR4sq3FT49 pQUcTW0cytsHoP8/XM334reWIX0qctjpCn/B/N7C4/6r+PzlLTSj93cWJNnz+DZjTW36 qxsjJ1afo609F0ra2KbvOeyxVjwLz4Lhg/O9d4MjBvWnRvDPr/gSwCq24W8W4GKacVlc afuXlKE6NvvocadBLPoHYAmc66zdzIKDOaB/NimKjC5/yUpmb3vZmZ7+zP7HBVJOsUZj 0Zfw== X-Gm-Message-State: ALoCoQn6dxJst7uUjegCnm2A0Qz5BBzUmRCJR9K1ML8N97kbIUcBHvz1cI3/4n6vOuqSBs++pyxPvcieQIA2AcDwlKRe995mBMguAlA8UqLJA7kA+qgywBmKVyxU24WoPLVNmtWIMg75aFvpWCCAJNlING1e/D18oQnsPut6Miwph4fq80MJ/a4QEWadBNMJRw9f6OHz0p/xph1bqG8RLlTr5fA9/0g21Q== MIME-Version: 1.0 X-Received: by 10.224.115.76 with SMTP id h12mr24223402qaq.14.1377268706831; Fri, 23 Aug 2013 07:38:26 -0700 (PDT) Received: by 10.49.40.161 with HTTP; Fri, 23 Aug 2013 07:38:26 -0700 (PDT) Date: Fri, 23 Aug 2013 07:38:26 -0700 Message-ID: Subject: Fixed PR rtl-optimization/58220 and PR regression/58221 From: Teresa Johnson To: "gcc-patches@gcc.gnu.org" The following patch was just committed as r201941 (pre-approved by Jakub) to fix PR rtl-optimization/58220 and PR regression/58221. Bootstrapped and tested on x86_64-unknown-linux-gnu. also confirmed that I could reproduce the problem in PR rtl-optimization/58220 and that the patch fixes it. Thanks to Kaz for the fix. Teresa Index: final.c =================================================================== --- final.c (revision 201940) +++ final.c (revision 201941) @@ -1650,7 +1650,7 @@ reemit_insn_block_notes (void) rtx insn, note; insn = get_insns (); - for (; insn; insn = next_insn (insn)) + for (; insn; insn = NEXT_INSN (insn)) { tree this_block; Index: ChangeLog =================================================================== --- ChangeLog (revision 201940) +++ ChangeLog (revision 201941) @@ -1,3 +1,10 @@ +2013-08-23 Kaz Kojima + + PR rtl-optimization/58220 + PR regression/58221 + * final.c (reemit_insn_block_notes): Use NEXT_INSN to + handle SEQUENCE insns properly. + 2013-08-23 Gabriel Dos Reis * pretty-print.h (pp_newline_and_flush): Declare. Remove macro