From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id A4A2A3858D3C for ; Mon, 29 Apr 2024 21:43:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A4A2A3858D3C 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 A4A2A3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714427013; cv=none; b=eKcf18ifozsbdYjY+O2FfKZfxjdxqgDwFNoO8ZV6pRaahz7trZJQOQeLOYFVIkr7+x1NlMl7eR2ZIHj71Xkb8ARLqUGrlKVnVc3SqcFO4UnxVpmgZzc10erxyb2yPd706tXHNnzytIe//rQTi0Fca3NbY9uelwk4S43lGi9Ogu8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714427013; c=relaxed/simple; bh=m3sx8KZ8Cb4oaR2vVC0Q9IO76bTH4zQSoQYXPrxSoss=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=aSM/lHogG/6vzoIFeaG9WTOWgLcHEAdE8CgDb/IZPNhN4HNQuqhg6OuDltBFQRfRBT6wUHb/iB+U2T9B/5tn8gGNQmqZ8m0pfe6CQDGJOEP88ejodf/bu3Re7L9UO0RScV8XSjIJ85rdecfTqxvKULdgn5SqtCOxmVboIixFAUE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714427011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NmmHdCsRF+ppk153y3WGpLrwGKlhsDvSrfTqtYsYPm8=; b=ddlQbrbFCOrrGVS2DP+m4RJBIp/pGD9g/g+qET+KLCBTAPZuHKFLF87lLE2cQAADtgbE1R NKDIZPqHbcaP3kTvs99u1JIcv9rx4sJbNEAfVj1Ob4xo7y/XeadrQ2NF+ccSHtyrx7OIjz ghh6BO3GoBCOQA0jhU+eWDy3t6NsQfA= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-412-2KFM60k_PgihaZRbHWeo6Q-1; Mon, 29 Apr 2024 17:43:29 -0400 X-MC-Unique: 2KFM60k_PgihaZRbHWeo6Q-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-34c93732095so1596247f8f.0 for ; Mon, 29 Apr 2024 14:43:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714427008; x=1715031808; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NmmHdCsRF+ppk153y3WGpLrwGKlhsDvSrfTqtYsYPm8=; b=OsrPR8+BWgjOJHqdNC/Yp3qiKc3VGS179iq9Sm/EBvls3lpOKMdUsxD5jHNWZsaK3U YXmtpU1FmTXJZm2PCzJJdsy0mWJICzb93salESzKZTXg2kyZchAcpvBhSzu5PosXRQ2k Mlc4lUF56YpXl4q8jd5s2Vom2ssSBDc8r8QBqWIUP6PEVuVbYg3LlEVfis6hEcWUvNvo DQs76HkCviKvYw2x8yNgnwnBMgdCft9FFRh6W7HGzlFCfXNqlMHJ/PcO5R9H40KUFeAT 7vxhct7Knd0kISqaCkTdK4lwbTFdbed9azYmY+R9CCER5glhBBWserL3es20Q9yA+Kxd I8dQ== X-Gm-Message-State: AOJu0YyhYTHHdzqXMoEk78hVJIV8/dLvSYN3HPZ1S3Nu1gweUEz+zZgZ Y45WtxoJYq99zczxEeywF85YndYC8RSNwJnnWQk2P8FMmfG6ddoHk/z1OvpWQPp1c0JS+HKqpSU 1Ff1nYQ/b6rp8c1Y20P6HmAxfqTQkeaCtWE/ZSM393ijDvSkOWAecen0= X-Received: by 2002:a05:6000:1a8c:b0:34c:f3cb:759d with SMTP id f12-20020a0560001a8c00b0034cf3cb759dmr4472796wry.45.1714427007943; Mon, 29 Apr 2024 14:43:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPSjqxfImXnV7ab9WGtww54wKIQW0DCzzdpJBJ0GCe1RXzlVgAHM49djUS7yBSZP4qoqrRAg== X-Received: by 2002:a05:6000:1a8c:b0:34c:f3cb:759d with SMTP id f12-20020a0560001a8c00b0034cf3cb759dmr4472787wry.45.1714427007595; Mon, 29 Apr 2024 14:43:27 -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 cg5-20020a5d5cc5000000b00343dc6a0019sm30245263wrb.68.2024.04.29.14.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 14:43:27 -0700 (PDT) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.95) (envelope-from ) id 1s1Yls-003OHd-5W; Mon, 29 Apr 2024 21:42:48 +0000 Date: Mon, 29 Apr 2024 21:42:48 +0000 (UTC) From: Joseph Myers To: Jakub Jelinek cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] libcpp: Adjust __STDC_VERSION__ for C23 In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,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 List-Id: On Thu, 25 Apr 2024, Jakub Jelinek wrote: > Hi! > > While the C23 standard isn't officially release yet, > in 2011 we've changed __STDC_VERSION__ value for C11 already > in the month in which the new __STDC_VERSION__ value has been > finalized, so we want to change this now or wait > until we implement all the C23 features? > > Note, seems Clang up to 17 also used 202000L for -std=c2x but > Clang 18+ uses 202311L as specified in the latest C23 drafts. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk? In the spirit of the principle that these macros indicate intent rather than completeness, it's probably reasonable to change now. The main missing feature still to be implemented is #embed, hopefully we can get that done for GCC 15. -- Joseph S. Myers josmyers@redhat.com