From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1432) id BD40E3858D35; Sun, 19 Mar 2023 07:46:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD40E3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679211979; bh=3U0NrrNc4OWUljAUFZeddQbKVb1HhktpkWI0tKXh5BA=; h=To:Subject:Date:From:From; b=mjNKAJn1etKJdGaE2CiUgxIsuw4zJcFw4erGMy3Z43ywklQlqGjnjyqTVFkkpZJm4 ppmX1FOMreoQfM+FQCN3TLx+BZoOGVEHlOJZ4i9nn32MAQ/o0+EI+Fs+HIHzop9fCA FSixoJQNWXXFZwWCUME18crz6G552HRR1PX+AWa0= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 9b8a31d640d1c508be86637b6d82fcabf4d31590 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: eba7cee0b803743191e292eed135d7c910255afd X-Git-Newrev: 9b8a31d640d1c508be86637b6d82fcabf4d31590 Message-Id: <20230319074619.BD40E3858D35@sourceware.org> Date: Sun, 19 Mar 2023 07:46:19 +0000 (GMT) From: Thomas Kテカnig 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 9b8a31d640d1c508be86637b6d82fcabf4d31590 (commit) from eba7cee0b803743191e292eed135d7c910255afd (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 9b8a31d640d1c508be86637b6d82fcabf4d31590 Author: Thomas Koenig Date: Sun Mar 19 08:43:15 2023 +0100 Fix "doesn't"; add chapter on integer overflow for Fortran. Removed stuff. diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index 0ee58802..db0bf2fa 100644 --- a/htdocs/gcc-13/porting_to.html +++ b/htdocs/gcc-13/porting_to.html @@ -203,11 +203,27 @@ class Alloc

Since C++20, there is no rebind member in std::allocator, so deriving your own allocator types from -std::allocator is simpler and doesn't require the derived +std::allocator is simpler and does not require the derived allocator to provide its own rebind. For compatibility with previous C++ standards, the member should still be provided. The converting constructor is still required even in C++20.

+

Fortran language issues

+

Behavior on integer overflow

+

+GCC 13 includes new optimizations which may change behavior on +integer overflow. Traditional code, like linear congruential +pseudo-random number generators in old programs and relying on a +specific, non-standard behavior may now generate unexpected results. +The option -fsanitize=undefined can be used to detect +such code at runtime. +

+

+It is recommended to use the intrinsic subroutine +RANDOM_NUMBER for random number generators +or, if the old behavior is desired, to use the -fwrapv +option. Note that this option can impact performance. +

----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/porting_to.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) hooks/post-receive -- gcc-wwwdocs