From patchwork Wed Oct 30 18:50:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 99845 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 46C863857C5F for ; Wed, 30 Oct 2024 18:52:19 +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 ESMTP id 88C163857B84 for ; Wed, 30 Oct 2024 18:51:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 88C163857B84 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 88C163857B84 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=1730314301; cv=none; b=ZGvDJA9HkNV+Y8D3MkCSxqmZxlNLj2dWt6kWGMuhGxa4xZ4sIf9Rex+1d5FXyj7il2hLhsPSLPW2BOajM7Ic1TD6ZcdVI52E8pmNgSItckkmQLEVN9rm0jTs9khs8Zt9CmqndSe8Ve5AC5TOm/yAxzmhR12mNAVaZylGfbMsTA4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730314301; c=relaxed/simple; bh=vWxLk6nCBnb7NyRchfaZqzH9lNCXwWx7GrEbNaGOU0I=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=I/Q4hpHdVgP9EsFY9fbeX+0iYg6zSWhxfg6vZypc/oT/Y8puJVQTMHS4tjWFJ7TH/yXrprTYjHVEMxujOBz28qLmJjIf2weiDMHCQE+cIaAznlO2AWZDkFXcdRt5ZHmTF+XMitgc0UHmLvE30RomMYCjawMbO/XNo3/GF+Y+pKY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730314299; 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=gtJtbCHvQPVoE4bjrSa7UpPsDhBvMG6QvBL6PPu+Su4=; b=D6V9/QT0yU/QgrMN8PLy5KI88XVR410ZeSU4ygVQ/pE4mLMHVrhUBNnANZzAJjuKztUakT 5nI5SaOv3FMhBR8tbByooNO+fkf8GzFRvjyaZR5ZwYJOq2CPt1Oek0y5EmCCUrxR+AW9h9 F7AEHIW8qLYFkdIWOhIOL9sLVPSWgcM= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-577-_mmuzgmWNm6Vh4mdR7z-lg-1; Wed, 30 Oct 2024 14:51:38 -0400 X-MC-Unique: _mmuzgmWNm6Vh4mdR7z-lg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-43157cff1d1so905485e9.2 for ; Wed, 30 Oct 2024 11:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730314297; x=1730919097; h=mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gtJtbCHvQPVoE4bjrSa7UpPsDhBvMG6QvBL6PPu+Su4=; b=hinpW5+4FlQkAmClxHv3DYqHkexhy/11SabTGHxW0OnrBqaIEz7Z9a0oubZ7nZY0Sz 0GMVg33Km8zW8DacEZPxuVCF6nKNHASFubg6jyJQ/4rNMoEQTss1Jr1N5Yf+BUa6/5Td cF83Se1AQLw3VUp0TpOLINR1ZW5iTzoU4xXGmrf1BMRTEagBhOZybhJJ5KNxht7QyJbh dZzKH7JZPbUGl3JBFR1XaPJPTjda5b2jLyWoWBSSb9nq1Ji9eIc2UV5U/JIGwV0M3Hne EcOS07ZGPRwe/ffyhsvQJYwVc1UWX6D+TIR2XY/0Rycd1EpKg9JkcIopDjl0/dnPfv1E dZVA== X-Gm-Message-State: AOJu0YzNAWv4ZlPeAdB6kxpX5drSU7y9jGdNBkCea/bARu2gxkNEBEVg v2RrcbLfpTjKClaF0LyCg26vSH+Tz0oMd3VldDRpwQs83scKe7UlqOo7Znvu0wQOMnk+XhCeaOW 7q6Dh48yoh/J2UDuGibA0MKzx4nuY2TGJndmLRnaFdh8QBeVp8q+V9yMhVtgFZWeuGyHKLVqaXX 06fLPG7X44+B69nAw2T3LD5UVwai/9EjllM1A+HYY= X-Received: by 2002:a05:600c:524d:b0:431:5aea:969 with SMTP id 5b1f17b1804b1-4327b6fd631mr5884915e9.8.1730314296631; Wed, 30 Oct 2024 11:51:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzHVCkS9aBxzdWiZj8Vp1gBVsyTEAFwEif2VrtON4UwnYdbMEh7lZmQMvo/Mu60xiaQGDc3A== X-Received: by 2002:a05:600c:524d:b0:431:5aea:969 with SMTP id 5b1f17b1804b1-4327b6fd631mr5884735e9.8.1730314296124; Wed, 30 Oct 2024 11:51:36 -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 ffacd0b85a97d-38058b479ffsm16029069f8f.49.2024.10.30.11.51.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 11:51:35 -0700 (PDT) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.97) (envelope-from ) id 1t6DmQ-00000009SMG-3Acv for gcc-patches@gcc.gnu.org; Wed, 30 Oct 2024 18:50:54 +0000 Date: Wed, 30 Oct 2024 18:50:54 +0000 (UTC) From: Joseph Myers To: gcc-patches@gcc.gnu.org Subject: [committed] c: Do not document C23 support as experimental and incomplete Message-ID: <1ff6e486-6067-8156-a2c9-bad5cec6a2b1@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-9.2 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_H2, 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~patchwork=sourceware.org@gcc.gnu.org Since C23 support is substantially feature-complete, update documentation to no longer refer to it as experimental and incomplete. Bootstrapped with no regressions for x86_64-pc-linux-gnu. gcc/ * doc/cpp.texi (__STDC_VERSION__): Do not refer to C23 support as experimental. * doc/invoke.texi (std=c23, std=gnu23): Do not document as experimental and incomplete. * doc/standards.texi: Do not refer to C23 support as experimental and incomplete. gcc/c-family/ * c.opt (std=c23, std=gnu23, std=iso9899:2024): Do not mark as experimental and incomplete. diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 3fd331cda82..e2c01083aec 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -2590,7 +2590,7 @@ Conform to the ISO 2017 C standard (published in 2018). std=c23 C ObjC -Conform to the ISO 2023 C standard draft (expected to be published in 2024) (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024). std=c2x C ObjC Alias(std=c23) @@ -2692,7 +2692,7 @@ Conform to the ISO 2017 C standard (published in 2018) with GNU extensions. std=gnu23 C ObjC -Conform to the ISO 2023 C standard draft (expected to be published in 2024) with GNU extensions (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024) with GNU extensions. std=gnu2x C ObjC Alias(std=gnu23) @@ -2748,7 +2748,7 @@ Conform to the ISO 2017 C standard (published in 2018). std=iso9899:2024 C ObjC Alias(std=c23) -Conform to the ISO 2023 C standard draft (expected to be published in 2024) (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024). stdlib= Driver C++ ObjC++ Common Condition(ENABLE_STDLIB_OPTION) Var(flag_stdlib_kind) Joined Enum(stdlib_kind) RejectNegative Init(1) diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index db3a075c5a9..a83aa263df0 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -1887,7 +1887,7 @@ the 1999 revision of the C standard; the value @code{201112L} signifies the 2011 revision of the C standard; the value @code{201710L} signifies the 2017 revision of the C standard (which is otherwise identical to the 2011 version apart from correction of -defects). The value @code{202311L} is used for the experimental +defects). The value @code{202311L} is used for the @option{-std=c23} and @option{-std=gnu23} modes. An unspecified value larger than @code{202311L} is used for the experimental @option{-std=c2y} and @option{-std=gnu2y} modes. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 07920e07b4d..19c148a7d6f 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2480,8 +2480,7 @@ applied with @option{-std=c11}) and a new value of @itemx c2x @itemx iso9899:2024 ISO C23, the 2023 revision of the ISO C standard (expected to be -published in 2024). The support for this version is experimental and -incomplete. The name @samp{c2x} is deprecated. +published in 2024). The name @samp{c2x} is deprecated. @item c2y The next version of the ISO C standard, still under development. The @@ -2506,8 +2505,7 @@ GNU dialect of ISO C17. This is the default for C code. @item gnu23 @itemx gnu2x -GNU dialect of ISO C23. The support for this version is experimental -and incomplete. The name @samp{gnu2x} is deprecated. +GNU dialect of ISO C23. The name @samp{gnu2x} is deprecated. @item gnu2y The next version of the ISO C standard, still under development, plus diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index 484fbb10352..4ef28e910d7 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -115,10 +115,10 @@ known as @dfn{C17} and is supported with @option{-std=c17} or @option{-std=c11}, and the only difference between the options is the value of @code{__STDC_VERSION__}. -A fifth version of the C standard, known as @dfn{C23}, is under -development and expected to be published in 2024 as ISO/IEC 9899:2024. +A fifth version of the C standard, known as @dfn{C23}, is +expected to be published in 2024 as ISO/IEC 9899:2024. (While in development, drafts of this standard version were referred -to as @dfn{C2X}.) Experimental and incomplete support for this is +to as @dfn{C2X}.) Support for this is enabled with @option{-std=c23} or @option{-std=iso9899:2024}. A further version of the C standard, known as @dfn{C2Y}, is under