From patchwork Wed Sep 26 19:46:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dehao Chen X-Patchwork-Id: 187186 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 9F5012C009A for ; Thu, 27 Sep 2012 05:47:10 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1349293632; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Cc:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=rJWjcFP Wy16GBZPABqE8sWgLTA4=; b=uRmjourr8koRnslFdix9y4zW+fjPTPFfoqqNSla ZeklK9U2Xq279JCiPgFSQX6YZEFULSXwFK14UIwUwZh/d0fLKIE0gwZjVq74LM7S Gm6HWF1egHQWQjf27QM1nqHxY9nHrI/9l30oaG2Q/BCGQlHkxYeZHqHZCn8JzbhV wFak= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Cc:Content-Type:X-System-Of-Record:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=hSaMes9RDo6KLstf5+R4b/44gctqJmfrV/JoIL5NLXj1UroH5xWsP5Yl6skkHk YUxr48Ifa5Ym/xfC8cXZdUspa/wYtMBxIvSqReMpB/m5DX1QDFs/1HW+If1l6FV1 oRT+ADHFwPCNpBi8nHXhjmLZmq1S8RBMUMVxCO3DxjRiI=; Received: (qmail 14057 invoked by alias); 26 Sep 2012 19:47:06 -0000 Received: (qmail 14047 invoked by uid 22791); 26 Sep 2012 19:47:05 -0000 X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, TW_TM X-Spam-Check-By: sourceware.org Received: from mail-da0-f47.google.com (HELO mail-da0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 19:46:51 +0000 Received: by daks35 with SMTP id s35so204452dak.20 for ; Wed, 26 Sep 2012 12:46:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=1jZo8gGQxURsNJXmwb6t87WJwLfrqYFDhoG52asO+t8=; b=AXps1ijCO4NZ04q9MHQjsyVpjDNHRJWRof/IggFfMZWuC0AY+n7jz6PNn1i/xo3fJx FoCKU2e9qlEz5Imizg6SjckN2HWN20iPfQehd4vZdZ1bo6aoh/5uWN3E4HEhB881wgT4 xg3JBRmx0qP9FJBIzLu2236Tt1RvuCHoDwTPVUutUw39+3Cyzs9n6kp8KC2AnyTSbWv5 wQaHC/+9TUd/S3jMEuPfoufwXxxOFqnC5YtZAJGoxBCBGBeENuxoOTMSVeyzVUSfbaXR aU7zFFaFGedTSdCK4xVaDWIUaFXitMvqATWvf7WbDyUHZgDR/ffPoD9zHWAlLca42ADs vHkQ== Received: by 10.66.77.193 with SMTP id u1mr3803902paw.52.1348688811241; Wed, 26 Sep 2012 12:46:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.77.193 with SMTP id u1mr3803886paw.52.1348688811103; Wed, 26 Sep 2012 12:46:51 -0700 (PDT) Received: by 10.68.49.232 with HTTP; Wed, 26 Sep 2012 12:46:51 -0700 (PDT) Date: Wed, 26 Sep 2012 12:46:51 -0700 Message-ID: Subject: [PATCH] Fix some nits in clear_unused_block_pointer From: Dehao Chen To: GCC Patches Cc: Richard Guenther X-System-Of-Record: true X-Gm-Message-State: ALoCoQlNoVG2u2Av+BFXdqABtOmqDrH6oWtQc0XuKbyhn2rY/xRvS7P5mHy+mthnwIBhyApLmFoltCJE9VbL3PeispU28NiwH4AonJm25RJY8d2sxSCd5X53l2dMuhlcMJ41DcFYqhvzuOGvas10mUd6+MRuduexMD1nC3epwEIyhLyFASHjyy7W4d/3qV/FM0u5BIvz4Yqt X-IsSubscribed: yes 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 This patch fixes some small nits. Bootstrapped and passed gcc regression tests. Is it ok for trunk? Thanks, Dehao gcc/ChangeLog: 2012-09-26 Dehao Chen * tree-ssa-live.c (clear_unused_block_pointer): Fix two small nits. Index: gcc/tree-ssa-live.c =================================================================== --- gcc/tree-ssa-live.c (revision 191765) +++ gcc/tree-ssa-live.c (working copy) @@ -627,7 +627,7 @@ so that they will not be streamed out. */ static void -clear_unused_block_pointer () +clear_unused_block_pointer (void) { basic_block bb; gimple_stmt_iterator gsi; @@ -814,7 +814,7 @@ } FOR_EACH_EDGE (e, ei, bb->succs) - if (e->goto_locus) + if (LOCATION_BLOCK (e->goto_locus)) TREE_USED (LOCATION_BLOCK (e->goto_locus)) = true; }