From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: by sourceware.org (Postfix, from userid 1105)
id 0EE543858D37; Fri, 25 Mar 2022 23:12:41 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EE543858D37
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated.
caa5dc6995aac2c7dc1a139e1a021927faaf73eb
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e870a90578545e04dea26cd9d9aa32dff2212834
X-Git-Newrev: caa5dc6995aac2c7dc1a139e1a021927faaf73eb
Message-Id: <20220325231241.0EE543858D37@sourceware.org>
Date: Fri, 25 Mar 2022 23:12:41 +0000 (GMT)
From: Joseph Myers
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: Fri, 25 Mar 2022 23:12:41 -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 caa5dc6995aac2c7dc1a139e1a021927faaf73eb (commit)
from e870a90578545e04dea26cd9d9aa32dff2212834 (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 caa5dc6995aac2c7dc1a139e1a021927faaf73eb
Author: Joseph Myers
Date: Fri Mar 25 23:12:16 2022 +0000
Add release notes for new C2X features in GCC 12
diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 9cff81b9..689feeba 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -193,6 +193,27 @@ a work-in-progress.
+C
+
+ - Some new features from the upcoming C2X revision of the ISO C
+ standard are supported with
-std=c2x
+ and -std=gnu2x
. Some of these features are also
+ supported as extensions when compiling for older language versions.
+ In addition to the features listed, some features previously
+ supported as extensions and now added to the C standard are enabled
+ by default in C2X mode and not diagnosed with -std=c2x
+ -Wpedantic
.
+
+ - Digit separators (as in C++) are supported for C2X.
+ - The
#elifdef
and #elifndef
+ preprocessing directives are now supported.
+ - The
printf
and scanf
format checking
+ with -Wformat
now supports the %b
format
+ specified by C2X for binary integers, and the %B
+ format recommended by C2X for printf
.
+
+
+
C++
- Several C++23 features have been implemented:
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-12/changes.html | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
hooks/post-receive
--
gcc-wwwdocs