Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218951/?format=api
{ "id": 2218951, "url": "http://patchwork.ozlabs.org/api/patches/2218951/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260402071444.83729-1-tkaminsk@redhat.com/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api", "name": "GNU Compiler Collection", "link_name": "gcc", "list_id": "gcc-patches.gcc.gnu.org", "list_email": "gcc-patches@gcc.gnu.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260402071444.83729-1-tkaminsk@redhat.com>", "list_archive_url": null, "date": "2026-04-02T07:13:28", "name": "[committed] libstdc++: Update export declaration for dynamic_format and saturation arithmetic.", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3a2af6a65dabea5700a247fdbc6f811d7afd321c", "submitter": { "id": 90409, "url": "http://patchwork.ozlabs.org/api/people/90409/?format=api", "name": "Tomasz Kaminski", "email": "tkaminsk@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260402071444.83729-1-tkaminsk@redhat.com/mbox/", "series": [ { "id": 498440, "url": "http://patchwork.ozlabs.org/api/series/498440/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498440", "date": "2026-04-02T07:13:28", "name": "[committed] libstdc++: Update export declaration for dynamic_format and saturation arithmetic.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498440/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218951/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218951/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=WNYaZsxt;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=WNYaZsxt", "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com", "sourceware.org; spf=pass smtp.mailfrom=redhat.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmY662BPcz1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 18:15:26 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 655E44BA2E35\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 2 Apr 2026 07:15:24 +0000 (GMT)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id D2C244BA2E14\n for <gcc-patches@gcc.gnu.org>; Thu, 2 Apr 2026 07:14:49 +0000 (GMT)", "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-241-6pKXcR3ePYWALUSdTw_NQw-1; Thu,\n 02 Apr 2026 03:14:47 -0400", "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id E4BF2180061E; Thu, 2 Apr 2026 07:14:46 +0000 (UTC)", "from localhost (unknown [10.44.48.231])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 34E9319560A6; Thu, 2 Apr 2026 07:14:45 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 655E44BA2E35", "OpenDKIM Filter v2.11.0 sourceware.org D2C244BA2E14" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org D2C244BA2E14", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org D2C244BA2E14", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775114089; cv=none;\n b=Thakr7jjVAW3x/LM3Izl4P0QOqfJi7JCH7Q+9hUqCf8rBZWJz68syRg9PdO1YG1iAwlOJNHBCzvX3iyVnXkDqMFV6eDPAA/rEh0w9a952yB+h3jGCUj1UZpSXU5RYfWbBdQ2YBWRm4B0X5Ym28S1Z1oT5tQ/ee8I7i3Cu12UNqA=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775114089; c=relaxed/simple;\n bh=mLrRPrztKNp7MQPTwt3HQ4Hu8PdIq4Qp8RQySxXkULo=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=HfQr8Nij3O3KsQJsPPsv9uyV5NOOvUtu5AXgGsT+7s1PDe5WA7EV5G+AqwllMrSUzTJWJ4yueAOFhWEnn+6lRhCcvjU99zCyWIqlhKBTvDdVMca+v6j4vu3igmfknuSK33HyYHcmt01Wol/SBl6ORO03DW/V5AhR2MemNufKL24=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775114089;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=swYDnmoKn/CPrkCwW2DdO7F/p7U/lF83jRKLcZpa3Hc=;\n b=WNYaZsxtYL2V+v7jnHUwEbX69ammtKBV24Knw5m+MPpQrgr45sDWt0ttGWuzZ0ajqwFxhK\n ycN9SJZXVqLvS7dQGuipMc3p6BMn7nVOEBWTVA3td7zOJU5BUhHvaRmlW2wTvN69o03gN/\n nBQwSZsZPMc4psDsDogMgMyOaYYzO5E=", "X-MC-Unique": "6pKXcR3ePYWALUSdTw_NQw-1", "X-Mimecast-MFC-AGG-ID": "6pKXcR3ePYWALUSdTw_NQw_1775114087", "From": "=?utf-8?q?Tomasz_Kami=C5=84ski?= <tkaminsk@redhat.com>", "To": "libstdc++@gcc.gnu.org,\n\tgcc-patches@gcc.gnu.org", "Subject": "[committed] libstdc++: Update export declaration for dynamic_format\n and saturation arithmetic.", "Date": "Thu, 2 Apr 2026 09:13:28 +0200", "Message-ID": "<20260402071444.83729-1-tkaminsk@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "uvOb26BQ-Xfl3GR6GAhpXjwH3guePXutOig0Nu4kwGI_1775114087", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-BeenThere": "gcc-patches@gcc.gnu.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>", "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>", "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "libstdc++-v3/ChangeLog:\n\n\t* src/c++23/std.cc.in (std::runtime_format, std::add_sat)\n\t(std::sub_sat, std::mul_sat, std::div_sat, std::saturate_cast):\n\tReplace exports with...\n\t(std::dynamic_format, std::saturating_add, std::saturating_sub)\n\t(std::saturating_mul, std::saturating_div, std::saturating_cast):\n\t...exports of new names.\n---\nFound it while rechecking submdspan patches.\nstd::saturatint_cast is fixed in next patch, as I have forgotten to\ncommit stashed changed.\n\nLightly tested with modules on x86_64-linux.\n\n libstdc++-v3/src/c++23/std.cc.in | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in\nindex 1e174b85af1..aef9b7d59cc 100644\n--- a/libstdc++-v3/src/c++23/std.cc.in\n+++ b/libstdc++-v3/src/c++23/std.cc.in\n@@ -1369,8 +1369,8 @@ export namespace std\n using std::formatter;\n using std::make_format_args;\n using std::make_wformat_args;\n-#if __cpp_lib_format >= 202311L // >= C++26\n- using std::runtime_format;\n+#if __cpp_lib_format >= 202603L // >= C++26\n+ using std::dynamic_format;\n #endif\n using std::vformat;\n using std::vformat_to;\n@@ -2449,11 +2449,11 @@ export namespace std\n }\n #endif\n #if __cpp_lib_saturation_arithmetic\n- using std::add_sat;\n- using std::sub_sat;\n- using std::mul_sat;\n- using std::div_sat;\n- using std::saturate_cast;\n+ using std::saturating_add;\n+ using std::saturating_sub;\n+ using std::saturating_mul;\n+ using std::saturating_div;\n+ using std::saturatint_cast;\n\n #endif\n }\n", "prefixes": [ "committed" ] }