From patchwork Wed Oct 16 14:26:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Leoshkevich X-Patchwork-Id: 1177952 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511117-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PJOxngeX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46tZPv5qC2z9sPK for ; Thu, 17 Oct 2019 01:27:31 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:mime-version:content-transfer-encoding :message-id; q=dns; s=default; b=hdnjG719/su7g0TlBEmr1oAU9BGhNy3 bp6YaV8GYuP6mAIJl5B+qWGzsrwSp9dNMFmAU0OO1XILTlDjInux3cnaKwMF5Mhh RyJTu6Z47b0U38dNAS3AZD659S2s3WzIcIIWZctqgdOgA+ArWiO2IpxtUjq/iKSZ 7LT9a+5vFciY= 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:from :to:cc:subject:date:mime-version:content-transfer-encoding :message-id; s=default; bh=tnyt4ogagTiTJ9GNpsgXVj1nlIE=; b=PJOxn geX70/tIc6Chg+BfcBqLqRh09sFTf5x9+jR1zdt39uhZBbuTm9pecoP9G+Mp7tmq ZgAKt1Dq+uAgr3eCQ0WkyPHVVuEdupwecopHNytoYhoD8y36lbxNqwiFa3c7XXRQ 62G/b7555lLB8eGzI4VE3qdmB4INBdgsUa3Lm0= Received: (qmail 117545 invoked by alias); 16 Oct 2019 14:27:24 -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 117324 invoked by uid 89); 16 Oct 2019 14:27:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy=23757, HContent-Transfer-Encoding:8bit X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2019 14:27:23 +0000 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9GENq5i077079 for ; Wed, 16 Oct 2019 10:27:21 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vp26tq3nn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 16 Oct 2019 10:27:20 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 Oct 2019 15:26:48 +0100 Received: from b06avi18626390.portsmouth.uk.ibm.com (9.149.26.192) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 16 Oct 2019 15:26:46 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9GEQDPi26214884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Oct 2019 14:26:13 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1377542049; Wed, 16 Oct 2019 14:26:45 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D669D4204B; Wed, 16 Oct 2019 14:26:44 +0000 (GMT) Received: from white.boeblingen.de.ibm.com (unknown [9.152.97.58]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 16 Oct 2019 14:26:44 +0000 (GMT) From: Ilya Leoshkevich To: gcc-patches@gcc.gnu.org Cc: krebbel@linux.ibm.com, Ilya Leoshkevich Subject: [PATCH] find_partition_fixes: remove unused bbs_in_cold_partition variable Date: Wed, 16 Oct 2019 16:26:40 +0200 MIME-Version: 1.0 x-cbid: 19101614-0016-0000-0000-000002B89A0A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19101614-0017-0000-0000-00003319BD87 Message-Id: <20191016142640.79432-1-iii@linux.ibm.com> X-IsSubscribed: yes Bootstrapped and regtested on x86_64-redhat-linux. I noticed this while looking into PR92007. gcc/ChangeLog: 2019-10-16 Ilya Leoshkevich * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition. --- gcc/cfgrtl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 39fc7aa36bf..f279d083a6c 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -2375,7 +2375,6 @@ static vec find_partition_fixes (bool flag_only) { basic_block bb; - vec bbs_in_cold_partition = vNULL; vec bbs_to_fix = vNULL; hash_set set; @@ -2394,7 +2393,6 @@ find_partition_fixes (bool flag_only) else BB_SET_PARTITION (bb, BB_COLD_PARTITION); bbs_to_fix.safe_push (bb); - bbs_in_cold_partition.safe_push (bb); } return bbs_to_fix;