From patchwork Thu Apr 4 17:05:46 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Joseph Myers
X-Patchwork-Id: 1919894
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=pass (1024-bit key;
unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256
header.s=mimecast20190719 header.b=Y5m/ynm1;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=8.43.85.97; helo=server2.sourceware.org;
envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org;
receiver=patchwork.ozlabs.org)
Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4V9ShL2GVjz1yYP
for ; Fri, 5 Apr 2024 04:06:42 +1100 (AEDT)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 6A2BC385841D
for ; Thu, 4 Apr 2024 17:06:40 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from us-smtp-delivery-124.mimecast.com
(us-smtp-delivery-124.mimecast.com [170.10.129.124])
by sourceware.org (Postfix) with ESMTPS id 0DA2A3858C98
for ; Thu, 4 Apr 2024 17:06:21 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DA2A3858C98
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=redhat.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0DA2A3858C98
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=170.10.129.124
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712250382; cv=none;
b=DdB5PhRHvyXNdV87rswJa3esA/pa7Fhx6pXEcafVBxadxo8cVth2ByY/SzXUk3nnPuhqIbCIRVsMkaREG1PHVgjIDxJn1GkYfdNXmSzffwtkmKBwGPcU/Kxfg8JVWbsv+lVEPuEJvXs4ijnIhV3qXqjveBHNIimIy0NEzjUhLw4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1712250382; c=relaxed/simple;
bh=TUQUGdddeKviIA93pRLnp0/qhog0z8n1BMW0sIHPakw=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=iHwRFd5femvVHTl35908N7A8D4G9E4WO/WLds78pYJIQJ+maVrTV2LahpmNbtXadrqN1ZDk1XtOjTGgnGFEqBbHsF4ZLgj5XFM/8NArcsqSl9z9khPkuBNth4kN8/LB7PP93UzjV8Gk/tZvu5Yj3lMN2jte28SAeQ1EWCbZlC44=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1712250380;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type;
bh=DmpuMj5cK5ZYeo5F5LFGgVaOJwF8xwygn/PmRs41WMM=;
b=Y5m/ynm13F1bNN1tzNr3tnr6C1xDCBcabrjgfEuFC9MHApjEh9BOEsM9Xk2IT7gW6I9/Eb
eqcrlYWggu1f8odUBc5XUOguNvvz4f59jZCclnOsX374wL0ss3c2UuXbcCGG5xNKCWR1NF
6MEwx2c71g3NNMwuikFD2OEHPplXhuU=
Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com
[209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS
(version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
us-mta-687-xO0WVUQsMyicK6M5RJZyPQ-1; Thu, 04 Apr 2024 13:06:19 -0400
X-MC-Unique: xO0WVUQsMyicK6M5RJZyPQ-1
Received: by mail-wr1-f70.google.com with SMTP id
ffacd0b85a97d-343d6732721so119066f8f.2
for ; Thu, 04 Apr 2024 10:06:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1712250378; x=1712855178;
h=mime-version:message-id:subject:to:from:date:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=DmpuMj5cK5ZYeo5F5LFGgVaOJwF8xwygn/PmRs41WMM=;
b=a0aa5/5DCNyhZpdaINzAXYaMz/pL7EAJuABEs9X/c/apxFfyanmIRuCs326lcdeHiN
v4WntLReqEsB0wVnT4zeJ85cd47l3Cc15dHPgsf4hRbGvDA/k3qc4XY53++U4ORHw3cs
TaLXMBGCruTW4KStPiN/xU544PDWl0oyJkV+M+DIQUYjGjHj/8py5nm7NGv25EHtH7Fq
5S+eD0XbK7E1e6APRNWZtNO5r/DPf4z7oDkKGLNl8V6CcWqtfBlGDIzUTcdEIWP1K0+c
135x2m0VHTE6Ei7SvUC0EecrKlAjc5IBsK3FHYoILprQDVqsU6Wup32NmPoG1MtpK7+i
nATw==
X-Gm-Message-State: AOJu0Yxxr1UyjhdsI6m92HPWfLSiUTUsVGj6VvJkkP6H2XlUsHlHAZBP
oVdfyrloCigiGNmFMxoHwqpuXBYnzTsGdWpg2w0UA4O4fg3LF0CCirTcMmNdOw+DaFRVJJg6kJf
OrDOBpQDbsAucI3hW+YouSeHSJ1ofJFzmGkydTvGMvp1iMaS6h4U10inbPARVWDO2VHb2CIhaus
s1NRP41Pf+D9YAwFQYJQfEVQU8cy6HmhsU9PrpJTQ=
X-Received: by 2002:adf:b311:0:b0:343:6f34:3bd7 with SMTP id
j17-20020adfb311000000b003436f343bd7mr161173wrd.37.1712250377752;
Thu, 04 Apr 2024 10:06:17 -0700 (PDT)
X-Google-Smtp-Source:
AGHT+IHcVKx7lI2zFEiMReH1BOk1nyuKNEj+4hstkGk3UC2cMyg4pcLLAgwZei2TV/H11ljrS0aMDQ==
X-Received: by 2002:adf:b311:0:b0:343:6f34:3bd7 with SMTP id
j17-20020adfb311000000b003436f343bd7mr161151wrd.37.1712250377143;
Thu, 04 Apr 2024 10:06:17 -0700 (PDT)
Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk.
[2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id
p13-20020a5d48cd000000b003432d61d6b7sm20494850wrs.51.2024.04.04.10.06.16
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 04 Apr 2024 10:06:16 -0700 (PDT)
Received: from jsm28 (helo=localhost)
by digraph.polyomino.org.uk with local-esmtp (Exim 4.95)
(envelope-from ) id 1rsQX4-002ar7-7m
for gcc-patches@gcc.gnu.org; Thu, 04 Apr 2024 17:05:46 +0000
Date: Thu, 4 Apr 2024 17:05:46 +0000 (UTC)
From: Joseph Myers
To: gcc-patches@gcc.gnu.org
Subject: [committed] wwwdocs: gcc-14: Add release notes for C23 features
Message-ID:
MIME-Version: 1.0
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=ham 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.30
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org
Add release notes for C23 features added in GCC 14. This doesn't
cover any non-C23 new C features; any such features should also have
release notes added.
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 934cd1ad..045893cf 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -206,6 +206,31 @@ a work-in-progress.
+C
+
+
+ - Some more C23 features have been implemented:
+
+ - Bit-precise integer types (
_BitInt (N)
+ and unsigned _BitInt (N)
): integer types with
+ a specified number of bits. These are only supported on
+ IA-32/x86-64 at present.
+ - Structure, union and enumeration types may be defined more
+ than once in the same scope with the same contents and the same
+ tag; if such types are defined with the same contents and the
+ same tag in different scopes, the types are compatible.
+ - The
<stdckdint.h>
header for checked
+ integer arithmetic.
+
+
+ - In addition to those C23 features, there are new command-line
+ options
-std=c23
, -std=gnu23
+ and -Wc11-c23-compat
. These are equivalent to the
+ previous options -std=c2x
, -std=gnu2x
+ and -Wc11-c2x-compat
, which are deprecated but remain
+ supported.
+
+
C++