From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2142) id 97C723858C5E; Thu, 9 Mar 2023 23:57:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97C723858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678406228; bh=9DLQDlg74m0F2ooz6VvpmSkpdXVyYT05z8IgRRKOMCI=; h=To:Subject:Date:From:From; b=dyfdy311jA0ufFUg8pVHVT4UkLQy327eERnVv8dEEIv7SOofPiwpmKRKXEySLuF91 bM7aO47rK4OJ2uq16zXoVeT9+Ah7Sf4gWVMIDc7d0irZ7pb+zBFaXuYZm2nTqQ1U55 wbcic8wvhzCIFhr14i1thuFv53Y/VbsK17XIS/dI= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 300a5505eeb55cef873ec486baf5164d9836acec X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3c2b5596f903812a072eaad17e7f7c7e74f17440 X-Git-Newrev: 300a5505eeb55cef873ec486baf5164d9836acec Message-Id: <20230309235708.97C723858C5E@sourceware.org> Date: Thu, 9 Mar 2023 23:57:08 +0000 (GMT) From: Gerald Pfeifer List-Id: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 300a5505eeb55cef873ec486baf5164d9836acec (commit) from 3c2b5596f903812a072eaad17e7f7c7e74f17440 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 300a5505eeb55cef873ec486baf5164d9836acec Author: Gerald Pfeifer Date: Fri Mar 10 00:55:23 2023 +0100 gcc-13: Revise the excess precision support section Improve and simplify language. Add a bit more structure by breaking out two new paragraphs. diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index 170da096..6ac9cb7f 100644 --- a/htdocs/gcc-13/porting_to.html +++ b/htdocs/gcc-13/porting_to.html @@ -122,12 +122,14 @@ the operand as an lvalue.

Excess precision changes

-

GCC 13 implements in C++ excess precision support -which has been before implemented just in the C front end. The new behavior is -enabled by default in -std=c++NN modes and e.g. when -FLT_EVAL_METHOD is 1 or 2 affects behavior of floating point -constants and expressions. E.g. for FLT_EVAL_METHOD equal -to 2 on ia32: +

GCC 13 implements excess precision +support, which was implemented just in the C front end before, +in C++. The new behavior is enabled by default in +-std=c++NN modes and when +FLT_EVAL_METHOD is 1 or 2 and affects the behavior of +floating point constants and expressions.

+ +

E.g. for FLT_EVAL_METHOD equal to 2 on ia32


 #include <stdlib.h>
@@ -139,11 +141,11 @@ will not abort with standard excess precision, because constants and expressions
 in float or double are evaluated in precision of
 long double and demoted only on casts or assignments, but will
 abort with fast excess precision, where whether something is evaluated in
-precision of long double or not depends on what evaluations are
-done in the i387 floating point stack or are spilled from it.
+long double precision depends on what evaluations are
+done in the i387 floating point stack or are spilled from it.

-The -fexcess-precision=fast option can be used to request the -previous behavior. +

The -fexcess-precision=fast option can be used to +request the previous behavior.

allocator_traits<A>::rebind_alloc<A::value_type> must be A

----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/porting_to.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) hooks/post-receive -- gcc-wwwdocs