Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197129/?format=api
{ "id": 2197129, "url": "http://patchwork.ozlabs.org/api/patches/2197129/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/aZQdUxV47d8RspVd@tucnak/", "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": "<aZQdUxV47d8RspVd@tucnak>", "list_archive_url": null, "date": "2026-02-17T07:48:35", "name": "libstdc++: Fix up submdspan std exports", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fdffbe67bf75d9919df1199f61d6fd51541ce983", "submitter": { "id": 671, "url": "http://patchwork.ozlabs.org/api/people/671/?format=api", "name": "Jakub Jelinek", "email": "jakub@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/aZQdUxV47d8RspVd@tucnak/mbox/", "series": [ { "id": 492384, "url": "http://patchwork.ozlabs.org/api/series/492384/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492384", "date": "2026-02-17T07:48:35", "name": "libstdc++: Fix up submdspan std exports", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492384/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197129/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197129/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=OolYlyz6;\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=OolYlyz6", "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 4fFWxx14B1z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 18:49:40 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2F8BB4BAD155\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 07:49:38 +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 023744BA23CA\n for <gcc-patches@gcc.gnu.org>; Tue, 17 Feb 2026 07:48:43 +0000 (GMT)", "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-403-raz1Se-0MJym2DklIqE6PQ-1; Tue,\n 17 Feb 2026 02:48:40 -0500", "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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id DC98719776A9; Tue, 17 Feb 2026 07:48:39 +0000 (UTC)", "from tucnak.zalov.cz (unknown [10.45.224.10])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 123D219560A3; Tue, 17 Feb 2026 07:48:38 +0000 (UTC)", "from tucnak.zalov.cz (localhost [127.0.0.1])\n by tucnak.zalov.cz (8.18.1/8.18.1) with ESMTPS id 61H7mZx4777205\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Tue, 17 Feb 2026 08:48:35 +0100", "(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 61H7mZiX777204;\n Tue, 17 Feb 2026 08:48:35 +0100" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 2F8BB4BAD155", "OpenDKIM Filter v2.11.0 sourceware.org 023744BA23CA" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 023744BA23CA", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 023744BA23CA", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771314524; cv=none;\n b=RPMNGO+K9B+zCVe+USruxUqJjQT0Xqm/qYdZKeTpKhVOdoUlWVb4/tUHTtWrfasyT4g+9PtoYyKguHKDrnLsPnryyxfolbt0nVk6yguVNwCLoUJ+q6yEQLoFLbqcE3PCpNkpZgy6u7SUyR5TtGVIcMPz022M5AlzNZgteV/EmIs=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771314524; c=relaxed/simple;\n bh=PpOqkEN0gCuKkgCZlMEl896ffS6qwv5PewLIRCvjTzs=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=NH6jOYhpF6PqqwrdkKXK1cjpoWIFK/Rmt11KOWEvPrHkUYiQTpUgNncXwIaGFMi6+PLxdhJRfpyHhPG3DGcAxuPlN9LOdqWZptzOVAvMooXQad/rF8SFcJk5XdTvhs1f+56mkBSJ6BiWpGOeoodzGM42LXThu3uCDhOdKJV9lDw=", "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=1771314523;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=lGedYZZm4aadIV1FIe1VgHJ+c//G7KKIkf+wpkbh2hY=;\n b=OolYlyz6wqZkjbdxPmUB67j0e64NYACe6D2kmZm0P01eTnAe5u6LB5jrGOC1EzhZs6K4QM\n r7yRDmliYBJKhphZyx5t2XQYUFSX48W2LJ0FIiIrm7Br1eRFTYM8GRiGdUsaXLlh4QrkaH\n up7cn+5Rss12YZCPm2n5sAy+3yWdzTo=", "X-MC-Unique": "raz1Se-0MJym2DklIqE6PQ-1", "X-Mimecast-MFC-AGG-ID": "raz1Se-0MJym2DklIqE6PQ_1771314520", "Date": "Tue, 17 Feb 2026 08:48:35 +0100", "From": "Jakub Jelinek <jakub@redhat.com>", "To": "Jonathan Wakely <jwakely@redhat.com>,\n Tomasz =?utf-8?b?S2FtacWEc2tp?= <tkaminsk@redhat.com>", "Cc": "gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org", "Subject": "[PATCH] libstdc++: Fix up submdspan std exports", "Message-ID": "<aZQdUxV47d8RspVd@tucnak>", "References": "<20260216123600.848053-1-tkaminsk@redhat.com>", "MIME-Version": "1.0", "In-Reply-To": "<20260216123600.848053-1-tkaminsk@redhat.com>", "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "AmelAImjHM_I3e0oH1l5bJTMuGH3VSAlys-R_0gZGGY_1771314520", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=utf-8", "Content-Disposition": "inline", "Content-Transfer-Encoding": "8bit", "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>", "Reply-To": "Jakub Jelinek <jakub@redhat.com>", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "On Mon, Feb 16, 2026 at 01:34:50PM +0100, Tomasz Kamiński wrote:\n> This patch implements LWG 4491, addressing C++26 NB comments.\n> \n> libstdc++-v3/ChangeLog:\n> \n> \t* include/std/mdspan (std::submdspan_extents): Rename to...\n> \t(std::subextents): Rename of submdspan_extents.\n> \t(std::submdspan_canonicalize_slices): Rename to...\n> \t(std::canonical_slices):\n> \t* testsuite/23_containers/mdspan/submdspan/submdspan_canonicalize_slices.cc:\n> \tMove to...\n> \t* testsuite/23_containers/mdspan/submdspan/canonical_slices.cc: ...here.\n> \tUpdated calls to submdspan_canonicalize_slices.\n> \t* testsuite/23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc:\n> \tMove to...\n> \t* testsuite/23_containers/mdspan/submdspan/canonical_slices_neg.cc: ...here.\n> \tUpdated calls to submdspan_canonicalize_slices.\n> \t* testsuite/23_containers/mdspan/submdspan/submdspan_extents.cc: Move to...\n> \t* testsuite/23_containers/mdspan/submdspan/subextents.cc: ...here.\n> \tQualified and renamed calls to submdspan_extents.\n> \t* testsuite/23_containers/mdspan/submdspan/submdspan_extents_neg.cc: Move to...\n> \t* testsuite/23_containers/mdspan/submdspan/subextents_neg.cc: ...here.\n> \tQualified and renamed calls to submdspan_extents.\n\nThis broke\n+FAIL: g++.dg/modules/compile-std1.C -std=c++26 (test for excess errors)\n+FAIL: g++.dg/modules/compile-std1.C module-cmi std (gcm.cache/std.gcm)\n+FAIL: g++.dg/modules/compile-std1.C module-cmi std.compat (gcm.cache/std.compat.gcm)\non all targets.\n\nThe following patch fixes it, tested on x86_64-linux, ok for trunk?\n\n2026-02-17 Jakub Jelinek <jakub@redhat.com>\n\n\t* src/c++23/std.cc.in (std::submdspan_canonicalize_slices,\n\tstd::submdspan_extents): Remove exports.\n\t(std::canonical_slices, std::subextents): New exports.\n\n\n\n\tJakub", "diff": "--- libstdc++-v3/src/c++23/std.cc.in.jj\t2026-01-29 21:56:30.963463807 +0100\n+++ libstdc++-v3/src/c++23/std.cc.in\t2026-02-17 08:40:55.256669866 +0100\n@@ -1915,8 +1915,8 @@ export namespace std\n using std::full_extent_t;\n using std::full_extent;\n using std::submdspan_mapping_result;\n- using std::submdspan_canonicalize_slices;\n- using std::submdspan_extents;\n+ using std::canonical_slices;\n+ using std::subextents;\n using std::submdspan;\n #endif\n }\n", "prefixes": [] }