get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2233373/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2233373,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233373/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260506085339.325517-3-jwakely@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260506085339.325517-3-jwakely@redhat.com>",
    "date": "2026-05-06T08:48:06",
    "name": "[v2,3/3] libstdc++: Remove non-concepts fallback for std::make_shared_for_overwrite",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "dc328511fbc4fdf62b6105cc6c787b72cf078914",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260506085339.325517-3-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 502950,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502950/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502950",
            "date": "2026-05-06T08:48:05",
            "name": "[v2,1/3] libstdc++: Replace uses of EBO with [[no_unique_address]]",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502950/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233373/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233373/checks/",
    "tags": {},
    "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=CQavv0QN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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=CQavv0QN",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "sourceware.org; arc=none smtp.remote-ip=170.10.129.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4g9WTx14Msz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 20:15:17 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [IPv6:::1])\n\tby sourceware.org (Postfix) with ESMTP id E98894BA2E09\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  6 May 2026 10:15:14 +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 78AD14BA23F7\n for <gcc-patches@gcc.gnu.org>; Wed,  6 May 2026 08:53:50 +0000 (GMT)",
            "from mx-prod-mc-01.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-561-di0fuDr6Mdmntzc1Eo4PTQ-1; Wed,\n 06 May 2026 04:53:46 -0400",
            "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\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-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 87C8D195608B; Wed,  6 May 2026 08:53:45 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.32.38])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 553FA1801A63; Wed,  6 May 2026 08:53:44 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org E98894BA2E09",
            "OpenDKIM Filter v2.11.0 sourceware.org 78AD14BA23F7"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 78AD14BA23F7",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 78AD14BA23F7",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778057630; cv=none;\n b=xuZa5+uJwxp+eN+D2Ot/R8qTh8YVfsOs4hPeN6Q6gNiMccC7rT7jjVsi+FOxnhQ7FS2XkxXCWq01irq1LvHB9o4p8XdkD8jMeFz6iH7Dx0VotYxWE++nbZ3HgbTsAxNfsyYPAtArJi+betpWG+nvC5u4IDwpaUQaRt4jTAwaXUk=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1778057630; c=relaxed/simple;\n bh=Wn0JFPdfNPv9Y82HstvqiF6v6Tofb6xuh1RL/exeF/Q=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=RcZaCJuG1M2teVXXlNvnWoc/GMgtT1SvnhfWu3OWP3+v459K5PKUKlqzi2UWgg+gUR56Qc3trZYUte7PihgblZcZAkcWCbIWIrtlxFPYOqjz4ipiNz4HRDR9P6eyTweQ56OWeXNWSbxYUPhcRlcEgcsipova1hffI7NGXnVD5qc=",
        "ARC-Authentication-Results": "i=1; sourceware.org;\n dkim=pass (1024-bit key, unprotected)\n header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=CQavv0QN",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1778057629;\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 in-reply-to:in-reply-to:references:references;\n bh=7YMcrYGsYjFRMCVes65DZs6dkd+vY2WBqAQcmyM9wNc=;\n b=CQavv0QNsKLUEJSu/xqVHTKW9BGIR3Ao3xAecUBZ5CuXQyzoqhLGNfsOKg/vbk2Yy073/w\n FYBZIlY7jBcwQn9N/1X3fP5fQg/qze9THFj1032Q6Bz8W4GkiEPvFegcPGGUJ0ub8q1irY\n pTYQkP5peEF8fmVZm7hZfH2TOIDcN+c=",
        "X-MC-Unique": "di0fuDr6Mdmntzc1Eo4PTQ-1",
        "X-Mimecast-MFC-AGG-ID": "di0fuDr6Mdmntzc1Eo4PTQ_1778057625",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[PATCH v2 3/3] libstdc++: Remove non-concepts fallback for\n std::make_shared_for_overwrite",
        "Date": "Wed,  6 May 2026 09:48:06 +0100",
        "Message-ID": "<20260506085339.325517-3-jwakely@redhat.com>",
        "In-Reply-To": "<20260506085339.325517-1-jwakely@redhat.com>",
        "References": "<20260506085339.325517-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "YC9EtSohpqAOr-d1Je6jNaew9DE90P_9gJRALzt3nVU_1778057625",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain",
        "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>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Clang 10 added support for concepts, so we no longer need to support\nC++20 compilers that don't define __cpp_concepts.\n\nlibstdc++-v3/ChangeLog:\n\n\t* include/bits/shared_ptr.h (_UnboundedArray, _BoundedArray)\n\t(_NotUnboundedArray): Remove fallback definition for C++20\n\tcompilers that don't define __cpp_concepts.\n\t* include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace):\n\tRemove fallback declaration of _Sp_overwrite_tag partial\n\tspecialization.\n---\n\nv2: Unchanged, just rebased on PATCH v2 2/3.\n\nTested x86_64-linux.\n\n libstdc++-v3/include/bits/shared_ptr.h      | 18 ------------------\n libstdc++-v3/include/bits/shared_ptr_base.h |  5 -----\n 2 files changed, 23 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/include/bits/shared_ptr.h b/libstdc++-v3/include/bits/shared_ptr.h\nindex fd00384df223..ada32d3d3cb9 100644\n--- a/libstdc++-v3/include/bits/shared_ptr.h\n+++ b/libstdc++-v3/include/bits/shared_ptr.h\n@@ -114,38 +114,20 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n \n #if __glibcxx_shared_ptr_arrays >= 201707L\n   // Constraint for overloads taking array types with unknown bound, U[].\n-#if __cpp_concepts\n   template<typename _Tp>\n     requires is_array_v<_Tp> && (extent_v<_Tp> == 0)\n     using _UnboundedArray = _Tp;\n-#else\n-  template<typename _Tp>\n-    using _UnboundedArray\n-      = __enable_if_t<__is_array_unknown_bounds<_Tp>::value, _Tp>;\n-#endif\n \n   // Constraint for overloads taking array types with known bound, U[N].\n-#if __cpp_concepts\n   template<typename _Tp>\n     requires (extent_v<_Tp> != 0)\n     using _BoundedArray = _Tp;\n-#else\n-  template<typename _Tp>\n-    using _BoundedArray\n-      = __enable_if_t<__is_array_known_bounds<_Tp>::value, _Tp>;\n-#endif\n \n #if __glibcxx_smart_ptr_for_overwrite\n   // Constraint for overloads taking either non-array or bounded array, U[N].\n-#if __cpp_concepts\n   template<typename _Tp>\n     requires (!is_array_v<_Tp>) || (extent_v<_Tp> != 0)\n     using _NotUnboundedArray = _Tp;\n-#else\n-  template<typename _Tp>\n-    using _NotUnboundedArray\n-      = __enable_if_t<!__is_array_unknown_bounds<_Tp>::value, _Tp>;\n-#endif\n #endif // smart_ptr_for_overwrite\n #endif // shared_ptr_arrays\n \ndiff --git a/libstdc++-v3/include/bits/shared_ptr_base.h b/libstdc++-v3/include/bits/shared_ptr_base.h\nindex 01fd57180ecc..7366f1e04702 100644\n--- a/libstdc++-v3/include/bits/shared_ptr_base.h\n+++ b/libstdc++-v3/include/bits/shared_ptr_base.h\n@@ -696,14 +696,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION\n   // Partial specialization used for make_shared_for_overwrite<non-array>().\n   // This partial specialization is used when the allocator's value type\n   // is the special _Sp_overwrite_tag type.\n-#if __cpp_concepts\n   template<typename _Tp, typename _Alloc, _Lock_policy _Lp>\n     requires is_same_v<typename _Alloc::value_type, _Sp_overwrite_tag>\n     class _Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp> final\n-#else\n-  template<typename _Tp, template<typename> class _Alloc, _Lock_policy _Lp>\n-    class _Sp_counted_ptr_inplace<_Tp, _Alloc<_Sp_overwrite_tag>, _Lp> final\n-#endif\n     : public _Sp_counted_base<_Lp>\n     {\n       [[no_unique_address]] _Alloc _M_alloc;\n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}