From patchwork Sat Jan 13 11:18:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 187898 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp731923dyc; Sat, 13 Jan 2024 04:23:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZuHBxXq8QR/2usl5EHrk1HN6MtkcXfcztxE+GRJw/3SPNRbzf+V/8jQtGQa9043YyKSIX X-Received: by 2002:a05:620a:8385:b0:783:4c4:5e27 with SMTP id pb5-20020a05620a838500b0078304c45e27mr4601726qkn.15.1705148591731; Sat, 13 Jan 2024 04:23:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705148591; cv=pass; d=google.com; s=arc-20160816; b=JFxxe8XJAVFMJd69dJE0x8xUDJzYEFfWwYL1VtXgJb6KjHRUoZOM1/YbwKQpYnP/SN ShDmPs1In6QItLSLa+CzWqlsGGqsk8+jIS7IcAAm2VnYxD90KMZbFVz//y9JZDq1JC4N dNdmUgYFHWny1OrnYV00M3mrxXez/GfyeXOgiuyEnPvQ0Tx2XJUN6YtNjaBAh0RwNQXb xSKv5qkmCGmPVf2S1XEtkT3Tb6uc2RGxKgLn3KRBmmefgXTO4nHbPMEAET4y/21DHgyE o4zlKALXqNW2PQ2XyfQR2McURWpC4f1lslR6tXjuQtjQY2y1BMwR5wx5u7ZJYFkBH4vq aWnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=A2O9Zzm/Rx0sS/FUVefvCm/tbgeDcCBxvHbbe4Cu17M=; fh=8DnVA9EzZmHhMRck0lF/C2uxPFaNkqwUIcgDzp/eYaE=; b=HvCnWegXQfWHhpy42qy5w6i1FXI0oUhVXIdK1OvVD7Ey1dAdPSbuKyQ4zrfNOqw0w0 83pc86/h9dngxU3hrHWPZNdD6qtOhwNg/EnLAykibHE5teZPBco3Ok+oyCA93YwFez5t yUYXlGc/0awD1w1pVcHt127IUsBnKAPBycxrX36a0BHqTkIgJREQzWkl8TC5SNDrAIHt Xh30rO5m/+0ECJx59bKVPjFpKQf7M7hq2/5RVqm3v5lZWf8ve8SOEFS7uiiUNczEiE/7 IsmjdUns0OCPguSg58Okz9ewdtQ0FZNfXfoIxneM91MCEIXnLcPYCiLDs8f0j4l9Jglb 8YTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XFSVK0FM; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qp28-20020a05620a389c00b00781e293c517si4431909qkn.471.2024.01.13.04.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 04:23:11 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XFSVK0FM; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D63343857713 for ; Sat, 13 Jan 2024 11:19:59 +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 E508E3857C69 for ; Sat, 13 Jan 2024 11:19:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E508E3857C69 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 E508E3857C69 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=1705144746; cv=none; b=rbVqTR/N+fT82YCez1vYOUef1GjNvUHg/3mOiYmfOWtlWvygOF9U+U52+5NuLM+PUA1ZOtzxB8QeRyVamAxCtQVFfTSkJuyAaTQEPAsqQMOtT7BRov55MQW/VKD2W/qYoAhPO4XvyBIT9we4T8h8WIgBycKLhFE7nTK9985UN2A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705144746; c=relaxed/simple; bh=A2O9Zzm/Rx0sS/FUVefvCm/tbgeDcCBxvHbbe4Cu17M=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=i5aSYz4HC1P/TKM01ROFeikc4NrJZWtl8di7AsWb4EhkswP9Ca7sj3LQMdCT5uUWLxkR+CwTnJZm9ZzoBR2YaPA971RtVS8gR4bMYdZd/MJGtvkBPXEx0Mglk3HPXUv/OFRlEuVHMGfJuhIB71pQkQiChMCZumPlTCGWKyZb9WM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705144743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=A2O9Zzm/Rx0sS/FUVefvCm/tbgeDcCBxvHbbe4Cu17M=; b=XFSVK0FMbXs+zX76nz4WXqHqMVrGsQk/4piwU4uRYjFxtmHicEfgZMWZL1G/oEJAIAS28W /tfDW2DGdNZlpCcP/N033O0scpZj3MQdo4lwvubtEe/ajKpd7VmzbpjXl/AWjTbt3rDHL+ etvGDvAINvBjiGdiF4q3XdxmXnwgYWA= Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-117-0wHpmeAYMACkXqlb6XyGqg-1; Sat, 13 Jan 2024 06:18:56 -0500 X-MC-Unique: 0wHpmeAYMACkXqlb6XyGqg-1 Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-5f38d676cecso89368757b3.0 for ; Sat, 13 Jan 2024 03:18:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705144736; x=1705749536; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A2O9Zzm/Rx0sS/FUVefvCm/tbgeDcCBxvHbbe4Cu17M=; b=IfdG3NRSUDD4gnajGG/4lP4E4OKhpjDfjclJQ6NAAJVOo82h19Fh7a2Wu/sJRILRdp YfpRvH8EM1F6e90LdGRKCmY/iz8lf7AE7YUHKfUpklLKUPiFfaVG3iEwvQDkD8MTcBYB XKluwOkr7i5B8fuMfT2GfatsYJMw4eWizDRE0nU28HCP98MB5zVJ/Fm/I2C2WjAhNG4q my6FihbZRUi/Wbth211ItIX1G9uJrK68wDjC8msRW9fqsDNnio6WWZ4QwVvib1m0NnWh sF3KoLu/r9JZXb2zjgXHYsS4K0Mn9rI6MqjAmmO7IA6JMfdgpj9/jLeC9G8ilXRi1X34 AWAQ== X-Gm-Message-State: AOJu0YzzTnmnBpzIQcQnxrC0iKgUAHGGztXw6JUn4bjpkTQ/eLN+SI1d to3CWPWErS/BNnbjwxlOIwNGAEOXJjwNgjUIEy14aamDbZXYJVIjSCwNsT5hOpUVuMJDFDYUnZM LBKmBU+ddmzSLyW3FQ/JPi9BiVLAutWMsrwoujb9v1w== X-Received: by 2002:a81:e501:0:b0:5e4:cba8:e4f1 with SMTP id s1-20020a81e501000000b005e4cba8e4f1mr1859605ywl.17.1705144735954; Sat, 13 Jan 2024 03:18:55 -0800 (PST) X-Received: by 2002:a81:e501:0:b0:5e4:cba8:e4f1 with SMTP id s1-20020a81e501000000b005e4cba8e4f1mr1859602ywl.17.1705144735754; Sat, 13 Jan 2024 03:18:55 -0800 (PST) MIME-Version: 1.0 References: <20240112225924.1097416-1-jwakely@redhat.com> In-Reply-To: <20240112225924.1097416-1-jwakely@redhat.com> From: Jonathan Wakely Date: Sat, 13 Jan 2024 11:18:37 +0000 Message-ID: Subject: [PATCH v2] libstdc++: Update tzdata to 2023d To: "libstdc++" , gcc Patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-13.9 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, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787931388113578623 X-GMAIL-MSGID: 1787977889830100011 On Fri, 12 Jan 2024 at 22:59, Jonathan Wakely wrote: > > It would be good to update the bundled tzdata for GCC 14.1 and 13.3 The expiry date for the hardcoded leapseconds list should be updated too, as there's a new date in the file in the tzdata distro. There are no new leap seconds though, just a new "this list is valid until ..." date. Tested x86_64-linux and aarch64-linux. commit e65bd5d069ad27ce01854ad52224bc0186c924cf Author: Jonathan Wakely Date: Fri Jan 12 16:57:41 2024 libstdc++: Update tzdata to 2023d Import the new 2023d tzdata.zi file. The leapseconds file was also updated to have a new expiry (no new leap seconds were added). libstdc++-v3/ChangeLog: * src/c++20/tzdata.zi: Import new file from 2023d release. * src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds) Update expiry date for leap seconds list. diff --git a/libstdc++-v3/src/c++20/tzdata.zi b/libstdc++-v3/src/c++20/tzdata.zi index b522e395326..4e01359010c 100644 --- a/libstdc++-v3/src/c++20/tzdata.zi +++ b/libstdc++-v3/src/c++20/tzdata.zi @@ -1,4 +1,4 @@ -# version 2023c +# version 2023d # This zic input file is in the public domain. R d 1916 o - Jun 14 23s 1 S R d 1916 1919 - O Su>=1 23s 0 - @@ -394,7 +394,12 @@ Z Antarctica/Casey 0 - -00 1969 8 - +08 2019 O 4 3 11 - +11 2020 Mar 8 3 8 - +08 2020 O 4 0:1 -11 - +11 +11 - +11 2021 Mar 14 +8 - +08 2021 O 3 0:1 +11 - +11 2022 Mar 13 +8 - +08 2022 O 2 0:1 +11 - +11 2023 Mar 9 3 +8 - +08 Z Antarctica/Davis 0 - -00 1957 Ja 13 7 - +07 1964 N 0 - -00 1969 F @@ -410,6 +415,11 @@ R Tr 2005 ma - Mar lastSu 1u 2 +02 R Tr 2004 ma - O lastSu 1u 0 +00 Z Antarctica/Troll 0 - -00 2005 F 12 0 Tr %s +Z Antarctica/Vostok 0 - -00 1957 D 16 +7 - +07 1994 F +0 - -00 1994 N +7 - +07 2023 D 18 2 +5 - +05 Z Antarctica/Rothera 0 - -00 1976 D -3 - -03 Z Asia/Kabul 4:36:48 - LMT 1890 @@ -1050,13 +1060,13 @@ R P 2070 o - O 4 2 0 - R P 2071 o - S 19 2 0 - R P 2072 o - S 10 2 0 - R P 2072 o - O 15 2 1 S +R P 2072 ma - O Sa<=30 2 0 - R P 2073 o - S 2 2 0 - R P 2073 o - O 7 2 1 S R P 2074 o - Au 18 2 0 - R P 2074 o - S 29 2 1 S R P 2075 o - Au 10 2 0 - R P 2075 o - S 14 2 1 S -R P 2075 ma - O Sa<=30 2 0 - R P 2076 o - Jul 25 2 0 - R P 2076 o - S 5 2 1 S R P 2077 o - Jul 17 2 0 - @@ -1831,10 +1841,12 @@ Z America/Danmarkshavn -1:14:40 - LMT 1916 Jul 28 Z America/Scoresbysund -1:27:52 - LMT 1916 Jul 28 -2 - -02 1980 Ap 6 2 -2 c -02/-01 1981 Mar 29 --1 E -01/+00 +-1 E -01/+00 2024 Mar 31 +-2 E -02/-01 Z America/Nuuk -3:26:56 - LMT 1916 Jul 28 -3 - -03 1980 Ap 6 2 --3 E -03/-02 2023 O 29 1u +-3 E -03/-02 2023 Mar 26 1u +-2 - -02 2023 O 29 1u -2 E -02/-01 Z America/Thule -4:35:8 - LMT 1916 Jul 28 -4 Th A%sT @@ -4185,7 +4197,6 @@ L America/Puerto_Rico America/Tortola L Pacific/Port_Moresby Antarctica/DumontDUrville L Pacific/Auckland Antarctica/McMurdo L Asia/Riyadh Antarctica/Syowa -L Asia/Urumqi Antarctica/Vostok L Europe/Berlin Arctic/Longyearbyen L Asia/Riyadh Asia/Aden L Asia/Qatar Asia/Bahrain diff --git a/libstdc++-v3/src/c++20/tzdb.cc b/libstdc++-v3/src/c++20/tzdb.cc index d22cea7e070..6b86329ecac 100644 --- a/libstdc++-v3/src/c++20/tzdb.cc +++ b/libstdc++-v3/src/c++20/tzdb.cc @@ -1136,8 +1136,8 @@ namespace std::chrono pair, bool> tzdb_list::_Node::_S_read_leap_seconds() { - // This list is valid until at least 2023-12-28 00:00:00 UTC. - auto expires = sys_days{2023y/12/28}; + // This list is valid until at least 2024-06-28 00:00:00 UTC. + auto expires = sys_days{2024y/6/28}; vector leaps { (leap_second) 78796800, // 1 Jul 1972