From patchwork Thu Aug 27 13:18:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Coplan X-Patchwork-Id: 1352551 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=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=Mg3ZC89c; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=Mg3ZC89c; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BcjxD2m7Qz9sSP for ; Thu, 27 Aug 2020 23:19:11 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 14479383F878; Thu, 27 Aug 2020 13:19:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50083.outbound.protection.outlook.com [40.107.5.83]) by sourceware.org (Postfix) with ESMTPS id 210BB383F871 for ; Thu, 27 Aug 2020 13:19:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 210BB383F871 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Alex.Coplan@arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WIU/FuW0WjszIi1dboX801pjENfCggzSb89Liq0HoiM=; b=Mg3ZC89cUbkMQ/rqJU2HHNQrQERwK0Q1MowcJq4y9OvLNKYUujmWPn07ouMCuWIKHy6RWuM5KpmUoio5s/WF3DL9RiqBsvOypM1wj9oB9rVZM0t08ene5/N+lLbYJP71W7Q2/WcSBS1EWU1G1ZSYOw0k0uiiE+thWzk8izDtH0c= Received: from DB8PR03CA0003.eurprd03.prod.outlook.com (2603:10a6:10:be::16) by VI1PR08MB5533.eurprd08.prod.outlook.com (2603:10a6:803:12d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Thu, 27 Aug 2020 13:19:03 +0000 Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::9a) by DB8PR03CA0003.outlook.office365.com (2603:10a6:10:be::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 27 Aug 2020 13:19:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 27 Aug 2020 13:19:03 +0000 Received: ("Tessian outbound 7fc8f57bdedc:v64"); Thu, 27 Aug 2020 13:19:03 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4df768d59bc818c3 X-CR-MTA-TID: 64aa7808 Received: from 645828e16684.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8CED7522-F2B3-454E-8F64-18D408C69C9E.1; Thu, 27 Aug 2020 13:18:57 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 645828e16684.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 27 Aug 2020 13:18:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HDfdHJCCUe/Mu8RrSv4C7geoUAeZRW0fdY8j1wvrDRURXBRBM+VI5GsTL86PNR0lquVJSYCh7bg2A+69gDXfFM04qSlanvhHkopZMRcr0P2710eYmvWwWorEHpULTODI2TD+u+BTEG9DWv2h15Feu4OiIw7ktD8FAmOJFuOAUUk6FFhNiQbJkffsqOWsIg31vZmPEY0xthSNy4CJEzBESpwrekCRg7aDY2R7hZ2ftzQ2+mFOCJJ+QOD/JdrW94A9JBirVoBY6Zpx+HnnVMQW8h8y8kp//WF/WV1RQjlmkavEYOdzJf95lmIqTy807thiQCZqIvZM1iIhQ8emXkCyKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WIU/FuW0WjszIi1dboX801pjENfCggzSb89Liq0HoiM=; b=JnMrosjIkYEB9lcepDEIYPmuH/KhOAnimlbye30Bcw3fIWC2qmQ2s+ZOQVtNiT0bjNX88tZnm55T9eOikXZNG2xTqSDO58luYgecvH+bqYowQFbZneebkcGe4LSJjrkAPhse1GG3tNn8m31Eupb3KOKl0fMfLjFIZn4yQT/sxBcBy6UHM8cnN786AtIMIxxxzu673dZS4/zurIkuMh8Y8rbXwe7l/ycQ8JAuGZQiEhQg24b9dBZ5UPzqpS1N182jv8kuhwYDebFR1nROiOznIDZpqiMN4SktPDH1aONXc70NNWw+kSjmM4YKOeA4QlJ+WxkxQFZlqfc0EGg6LsYo+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WIU/FuW0WjszIi1dboX801pjENfCggzSb89Liq0HoiM=; b=Mg3ZC89cUbkMQ/rqJU2HHNQrQERwK0Q1MowcJq4y9OvLNKYUujmWPn07ouMCuWIKHy6RWuM5KpmUoio5s/WF3DL9RiqBsvOypM1wj9oB9rVZM0t08ene5/N+lLbYJP71W7Q2/WcSBS1EWU1G1ZSYOw0k0uiiE+thWzk8izDtH0c= Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) by VI1PR08MB4288.eurprd08.prod.outlook.com (2603:10a6:803:fc::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25; Thu, 27 Aug 2020 13:18:56 +0000 Received: from VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::c194:c7c6:f09e:6f3d]) by VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::c194:c7c6:f09e:6f3d%7]) with mapi id 15.20.3326.021; Thu, 27 Aug 2020 13:18:56 +0000 Date: Thu, 27 Aug 2020 14:18:54 +0100 From: Alex Coplan To: gcc-patches@gcc.gnu.org Subject: [PATCH] cfgloop.h: Reword comment describing is_exit flag Message-ID: <20200827131852.iytdspfiur2gowpu@arm.com> Content-Disposition: inline User-Agent: NeoMutt/20171215 X-ClientProxiedBy: LO2P265CA0254.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::26) To VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.50) by LO2P265CA0254.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 27 Aug 2020 13:18:55 +0000 X-Originating-IP: [217.140.106.50] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f6dbe1d7-f1fe-4059-2bf8-08d84a8bc47c X-MS-TrafficTypeDiagnostic: VI1PR08MB4288:|VI1PR08MB5533: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 3tGrlzO8Ky20FSNEBdeJh2xQvpLab1VxivnZffxBa53N5vqpDZmchHP0v+sSPuCrEXpme3CNSTw5AemjimDVurNS7iNGfheMAPYVzD8DNkBlHBgbKKBPmt6j5GiX3SbBdDts6aBPWpXhY4q7t8btGixltlSn0gmD7/CL9hMDf0wnR08xoQg8adixOv5XgQneXvNdLjcQcvUzVzVcFQsXC8IN/mFtd/tXGqvaLDyjN5+IIfOE4B56OdWN35ucEQJuV8xMk8Z5BYbk4BkMCiQLGKYdDAgWvxKf0B03tlH6bats1CMLulWbic8glsA4dtYilsw6WwQ/IMXYuOWh51Pv6R4/dEX/3SvndoS5ZFMXODwIrUhcfBRTTEiR26NoovYO X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB4029.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(396003)(346002)(39860400002)(366004)(21480400003)(66476007)(66556008)(66946007)(5660300002)(36756003)(8886007)(316002)(235185007)(564344004)(2906002)(44832011)(8676002)(1076003)(7696005)(55016002)(52116002)(66616009)(86362001)(186003)(478600001)(26005)(2616005)(16526019)(33964004)(956004)(6916009)(8936002)(44144004)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Bx0zT9l6O6Ri0SLsJa/qWbcy3GI+9MZ4WNND9zfF0wLV3N2k/O7+sMIvg1F805uYy150AdzDqfIsmYmvnPIKqpa0TsvEfe6gjEzq5xRERPsxIw07VQgOKp+2NyQ4DvYkQ/V90pFS4X+OMgAgLICfGBW08gpza7fMcBg2BmrM2S9UXnojFrAeXWF6OcFKOXF8HisWqFDT5oB+25HZG+acW+1kDyKUGmZMfMgJwls7tmZr9RocqklP/azkK7iBiUNVvE7pdmbPQnTY35nnuzQN2+y2YzEOMDT1Fe9cAUCHmMcg+RrdPLV61yv3kDnGBTVhA2qCxAI647YtGNLRynZ63uwsKWIo92fjL+yB9S0Vv01rJoFDhmFpk1ZbtnW3bknkXuxiC863XtONQVaPJGDRnSE+e0n1OmcQNUUJNJ3o768pxri+0AoY5wG8ucQiL8IPTiGlLYzBpGCqH4RccxsASYCb2G5UxfnpAp1EjTTDwThope/zwRL/8jIpiChXRQ09kqr6HhrGR380fI9WNrA37U86qzPSbhPoO+Mz1UtUSJuWb6Dlcc2zgZe/7EzBlMD0Wcnw9Lc6F1XOLX+hYFPaLNqrAsR9IJ+fSdeMHRIUI+oLEsUEcMuGfnW3S6nsFp4RT4qLnuePzbUpBmGRHHj7eA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4288 Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a72711d6-2d98-4993-b7a0-08d84a8bc038 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ASKJ9+NS6YmHaFRlxumLG9jMpn7s3ANDZfsxpNyCkBcxYgkUO+bFh4oumB+d9KNOwVIti07jJFHUN92x1JHVxxHZ1PHin7AI5Vu4fER3eWUj/ZMTNOeyz+aSkt7IDTpTwxjzpjq3dCM9RmFNFciHmbNuhWYDkb1IJ2eKiaonREYgdAjlT6vJ47ZcFsHU/Zxt4ZE7TH6jG6b8MHiIsEG9lMJbh43s0CyTnJrQnrn/ecu8aaj0L6oJQSNX5WgrWNQy8pLXsZbEBB7nAwgOMBgyAktMS6lS1Y4EPXf0sj8Hxw0iPwSN4vixU0DgxJ2sMf9Ar9aFiYflHd9oZc1uxeJZJqNwzPsk6tR+I16a62P4nGAQhstql3yGs3c188LxneBRQT+m6d3NrGE2DhT0bN1K6ON9BgBoFgXDWRX3GhtOoOs= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(39860400002)(376002)(396003)(136003)(346002)(46966005)(33964004)(66616009)(70206006)(336012)(316002)(8676002)(235185007)(5660300002)(8886007)(16526019)(478600001)(186003)(1076003)(2906002)(21480400003)(47076004)(82740400003)(564344004)(356005)(82310400002)(81166007)(8936002)(7696005)(55016002)(44144004)(70586007)(44832011)(26005)(2616005)(86362001)(6916009)(956004)(36756003)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2020 13:19:03.0226 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6dbe1d7-f1fe-4059-2bf8-08d84a8bc47c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5533 X-Spam-Status: No, score=-14.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" This simple patch rewords a comment in cfgloop.h to improve the grammar and readability. OK for master? Thanks, Alex --- gcc/ChangeLog: * cfgloop.h (nb_iter_bound): Reword comment describing is_exit. diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 18b404e292f..be978288aab 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -60,9 +60,9 @@ public: b) it is consistent with the result of number_of_iterations_exit. */ widest_int bound; - /* True if the statement will cause the loop to be leaved the (at most) - BOUND + 1-st time it is executed, that is, all the statements after it - are executed at most BOUND times. */ + /* True if, after executing the statement BOUND + 1 times, we will + leave the loop; that is, all the statements after it are executed at most + BOUND times. */ bool is_exit; /* The next bound in the list. */