From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id DC1FA385829F for ; Wed, 27 Jul 2022 22:45:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DC1FA385829F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.93,196,1654588800"; d="scan'208";a="80383149" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 27 Jul 2022 14:45:23 -0800 IronPort-SDR: rgYf0av90lOHGSFYV4Ld0jDNYUedqnIdagCz+RoHqyqofAUakyMKO3DV+B4RefpafjDP0T2YUQ UeqxlTdv+zdbRQqMdX2NYtuuJXdkCtkjDjGUpAn/SmEYPpw9gff3YRHWdF41AiRV/Yh0BQjWkO qz+1hvlDOL02Bj5oqqAw6E2Uuxwzhqzpz6iKxRAwvKYlcET22pvwoGIJ6QQPkScaMAuFGopbAm sH/IJDID7YPJsaSzuCxUiY+NIQ6dvkbViZy3Vp+i/i/fL2plPavDQ3juJfUxW+YjsySWLTQg75 qbw= Date: Wed, 27 Jul 2022 22:45:20 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: "Maciej W. Rozycki" CC: Subject: Re: [PATCH] doc: Clarify FENV_ACCESS pragma semantics WRT `-ftrapping-math' In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3112.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , X-List-Received-Date: Wed, 27 Jul 2022 22:45:27 -0000 On Tue, 19 Jul 2022, Maciej W. Rozycki wrote: > Our documentation indicates that it is the `-frounding-math' invocation > option that controls whether we respect what the FENV_ACCESS pragma > would imply, should we implement it, regarding the floating point > environment. It is only a part of the picture however, because the > `-ftrapping-math' invocation option also affects how we handle said > environment. Clarify that in the description of both options then, as > well as the FENV_ACCESS pragma itself. > > gcc/ > * doc/implement-c.texi (Floating point implementation): Mention > `-fno-trapping-math' in the context of FENV_ACCESS pragma. > * doc/invoke.texi (Optimize Options): Clarify FENV_ACCESS pragma > implication in the descriptions of `-fno-trapping-math' and > `-frounding-math'. OK. -- Joseph S. Myers joseph@codesourcery.com