From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13732 invoked by alias); 20 Jun 2019 15:32:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 13722 invoked by uid 89); 20 Jun 2019 15:32:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_SHORT autolearn=ham version=3.3.1 spammy= X-HELO: esa4.hgst.iphmx.com Received: from esa4.hgst.iphmx.com (HELO esa4.hgst.iphmx.com) (216.71.154.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Jun 2019 15:32:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1561044777; x=1592580777; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=lvntQU0icTHhiuCipjlc9zTzBkrvS96N7PKt+uWNx0M=; b=nt9OzugZP3EUwI8STfxo/yq2qGd1RRaxBNbeMOvm/2frrYdJFbNpWPD8 KaWkE456AkUEg7Jxihx6U6sSAKO3gA8nOs++2gIgoJNV7DbS4jBJrqGN7 qBAl2lPjCitXXXWMQ68bEalbjboAJrVSwwejGIfF0xPv50QmcgRiR0hZO ckPONocLYr2MQT65uPcySRZmnt4z0/0NO9EhXGlhBxpCrmBQL52HVnfFn xWyhDaSPRmSf4x4i6IkPxmavOFSHczCHJJKZZE4jRFFu4fFmN6YtmDODI zPNGbZDnobwXPI+Ad1OoRFkPJiwaaUTBSRAuZRRAdQ4Q/VAx1Ttjbclx3 w==; Received: from mail-by2nam05lp2052.outbound.protection.outlook.com (HELO NAM05-BY2-obe.outbound.protection.outlook.com) ([104.47.50.52]) by ob1.hgst.iphmx.com with ESMTP; 20 Jun 2019 23:32:55 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tI9dlkroyhCQZrD75FlRBIXQnVLKHYr+4cYNbD517A4=; b=jFTAxHERw8yXTqUKpFkgZ7nRIQwty6McppMkBTSaWT6Sjxg2HfUonpr+vr2UE3vXOo+sZrYqr/V89FN1T+fBONFYTNf7Kyw0WOYle7d5aprDf24vT/M7nrbB9LusTMumi8019CBFTTTsZ3bGpLn5OCP8GbYpfvj4O1XOmmAB+dM= Received: from BYAPR04MB4502.namprd04.prod.outlook.com (52.135.238.11) by BYAPR04MB5143.namprd04.prod.outlook.com (52.135.235.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.16; Thu, 20 Jun 2019 15:32:54 +0000 Received: from BYAPR04MB4502.namprd04.prod.outlook.com ([fe80::b562:7889:6d9a:12a6]) by BYAPR04MB4502.namprd04.prod.outlook.com ([fe80::b562:7889:6d9a:12a6%3]) with mapi id 15.20.1987.014; Thu, 20 Jun 2019 15:32:54 +0000 From: Maciej Rozycki To: Arnaud Charlet CC: "gcc-patches@gcc.gnu.org" , "dejagnu@gnu.org" , Eric Botcazou , Pierre-Marie de Rodat Subject: Re: [PING][PATCH 0/3] GNAT test suite fixes for build sysroot Date: Thu, 20 Jun 2019 15:32:00 -0000 Message-ID: References: <20190619124848.GA23767@adacore.com> <20190620151410.GA29834@adacore.com> In-Reply-To: <20190620151410.GA29834@adacore.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=macro@wdc.com; x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: macro@wdc.com X-SW-Source: 2019-06/txt/msg01247.txt.bz2 On Thu, 20 Jun 2019, Arnaud Charlet wrote: > > Technically both variants of the expression achieve the same effect he= re=20 > > as there is no problem with evaluating both sides of the OR operation i= n=20 > > all cases, but your suggestion might help the readers avoid scratching= =20 > > their heads. >=20 > The performance isn't the same, and more importantly, this is the documen= ted > Ada coding style for GNAT: https://gcc.gnu.org/onlinedocs/gnat-style/Stat= ements.html#Statements Thanks for the pointer, good to know! Maciej