From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: by sourceware.org (Postfix, from userid 2119)
id 131DF3861878; Tue, 15 Sep 2020 15:35:00 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 131DF3861878
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated.
081a380b5e869dfb38bd2cda860d1400296df286
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2f6aed80eb795f66a26cab2b5eee598d68f76ae5
X-Git-Newrev: 081a380b5e869dfb38bd2cda860d1400296df286
Message-Id: <20200915153500.131DF3861878@sourceware.org>
Date: Tue, 15 Sep 2020 15:35:00 +0000 (GMT)
From: Jeff Law
X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-cvs-wwwdocs mailing list
List-Unsubscribe: ,
List-Archive:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 15 Sep 2020 15:35:00 -0000
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 081a380b5e869dfb38bd2cda860d1400296df286 (commit)
from 2f6aed80eb795f66a26cab2b5eee598d68f76ae5 (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 081a380b5e869dfb38bd2cda860d1400296df286
Author: Jeff Law
Date: Tue Sep 15 09:34:40 2020 -0600
Notes on ordered comparisons, dynamic exceptions and comparison objects
diff --git a/htdocs/gcc-11/porting_to.html b/htdocs/gcc-11/porting_to.html
index 5db00734..ee7e91d8 100644
--- a/htdocs/gcc-11/porting_to.html
+++ b/htdocs/gcc-11/porting_to.html
@@ -66,6 +66,22 @@ than the other, so it's ambiguous.
The new behavior can be disabled independently of other C++17 features with
-fno-new-ttp-matching
.
+Ordered pointer comparison with integer
+
+GCC 11 now issues a diagnostic for ordered comparisons of pointers against constant
+integers. Commonly this is an ordered comparison against NULL or 0. These should be
+equality comparisons, not ordered comparisons.
+
+
+
+
+GCC 11 now enforces that comparison objects be invocable as const.
+
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-11/porting_to.html | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
hooks/post-receive
--
gcc-wwwdocs