get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2232134,
    "url": "http://patchwork.ozlabs.org/api/patches/2232134/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/CANLJ0Ti_DejYosy8QD91ACYr7wQhC6HtVczDDFgGzQwgkODDrg@mail.gmail.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": "<CANLJ0Ti_DejYosy8QD91ACYr7wQhC6HtVczDDFgGzQwgkODDrg@mail.gmail.com>",
    "list_archive_url": null,
    "date": "2026-05-03T05:22:52",
    "name": "Return *this instead of this in `bbitmap.h`",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "981993e17317e34f6f7b3b708189d99aab08f281",
    "submitter": {
        "id": 93308,
        "url": "http://patchwork.ozlabs.org/api/people/93308/?format=api",
        "name": "Sai Charan Marrivada",
        "email": "saicharanmarrivada0@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/CANLJ0Ti_DejYosy8QD91ACYr7wQhC6HtVczDDFgGzQwgkODDrg@mail.gmail.com/mbox/",
    "series": [
        {
            "id": 502561,
            "url": "http://patchwork.ozlabs.org/api/series/502561/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502561",
            "date": "2026-05-03T05:22:52",
            "name": "Return *this instead of this in `bbitmap.h`",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502561/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2232134/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2232134/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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=a9AcP9ee;\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 (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=a9AcP9ee",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=pass smtp.remote-ip=2a00:1450:4864:20::636"
        ],
        "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 4g7Y8k4Mt2z1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 03 May 2026 15:23:34 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id A9CEF4BB3B85\n\tfor <incoming@patchwork.ozlabs.org>; Sun,  3 May 2026 05:23:32 +0000 (GMT)",
            "from mail-ej1-x636.google.com (mail-ej1-x636.google.com\n [IPv6:2a00:1450:4864:20::636])\n by sourceware.org (Postfix) with ESMTPS id C3A434BB24CC\n for <gcc-patches@gcc.gnu.org>; Sun,  3 May 2026 05:23:05 +0000 (GMT)",
            "by mail-ej1-x636.google.com with SMTP id\n a640c23a62f3a-b8f97c626aaso598951466b.2\n for <gcc-patches@gcc.gnu.org>; Sat, 02 May 2026 22:23:05 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org A9CEF4BB3B85",
            "OpenDKIM Filter v2.11.0 sourceware.org C3A434BB24CC"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C3A434BB24CC",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C3A434BB24CC",
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1777785786; cv=pass;\n b=HkvEmLtvHgRgfHE0DsZlCtvAVHLg/zfK0KlmRq9XuDD/ulGzopW8oJQC8Jx25YQFdApTo6LUJyS1JbISN8oxPP6uG3OSGo6rFETc3eGsjxfAsJIToUNHlpD/uiJ2PjCae8i2VHS3Ed/gmZ5mnvyB8Lj7x8E/dXACNWpSS4sFT38=",
            "i=1; a=rsa-sha256; t=1777785784; cv=none;\n d=google.com; s=arc-20240605;\n b=eSgimreKEdpZrbVVELSkop4ZEXUaFflfLH68mcaO5AFiN4UP0BcfFJczX84C1bWGA+\n tBvD0l+RIuQxya+EsSKydN7iWOaWUDPm6Bmmpl9Lv7g0J5dhf46EtuqQjBIlZU3r/Y5r\n Ww8YtMqmVHo3pX6pb6vD5xeXgxpG8ygbYu/qxZ+7jzwoujbdpK++SGTVfGlFgSmCRGZV\n czyBpzWv3QS1jhYosIoftKzM52wr9O/Ll9Lwgp3HHwFURx/+CSjha5j1atm+ilf4KO4K\n 2vj8/ftcA4EtFQ5KZ/9Oz66KR4XkF/enpH5hIJzqT4ZUXxXDBd2B0139GG9UWa1FNIPP\n 2iPQ=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777785786; c=relaxed/simple;\n bh=QQrGmrlgb/vJ8sZ3sLB1ObN6RQYFbN5+924KIXXXjSc=;\n h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;\n b=fxbeI/xkzNlMQL+LTojscIitPUYpvbhYcuvzBn2hU56R0OYVr+griTrG7BarFIjpFEQfAnexWim/AAEnIu+s3OaFoULc5oa1hWc9W+xzLejXvLjXNK/38k/pbJsKU5m0z+jm5bnamWitsFYySzmZXG6TLCRe6F/KA+3+h2Ib8mk=",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=to:subject:message-id:date:from:mime-version:dkim-signature;\n bh=/VZ/5/407Nd3SQeAFCx4J+59oZOiGSrCFz99pncyX9I=;\n fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=;\n b=JFdZZwD2dfTiuAh/lR1rms/YfB9a/MbGaLdOD156vtDlEvgDXUJXDlRFhOFAlhlpmj\n Fo2gr3d1A8hIdHOu6K+h4GuiDoRkbTyek/0Ag4dn/pnO1ZC1IND0T8QEFkjMitv9aCya\n 2lHA5/eSvYbied12V1RuAjx4h0iy/5OvcELvSQ1zQhDxYkAHiQeNMlOBvmCRwAzjBGuk\n TBzb4fuCiqVwOHoICKAfkwYOpCV1bXuUoZvMXdYlhw9ZY2172UfpMxEzG0yxvdFuQw6i\n C1C1kol2QtcMPj/eJIN35oOxFKHsacPuVOUXKEq2BAwPMcTm7Z+6ifMzMEpLc+Du8lB5\n j1EA==; darn=gcc.gnu.org"
        ],
        "ARC-Authentication-Results": [
            "i=2; server2.sourceware.org",
            "i=1; mx.google.com; arc=none"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777785784; x=1778390584; darn=gcc.gnu.org;\n h=to:subject:message-id:date:from:mime-version:from:to:cc:subject\n :date:message-id:reply-to;\n bh=/VZ/5/407Nd3SQeAFCx4J+59oZOiGSrCFz99pncyX9I=;\n b=a9AcP9eezN6BoXL8wz5jKaCP9zkbAr2bUEPFILDILkRdeaNuolTJyFPZI2/TGsFzWe\n 7oh2fDhJ++QoFsvrCecBXbQImNAi6zCke48cBYMIzxc8JNQPwuPD/8sfChGRWToBSToC\n 2/pg/so8765meCq1wu1qX0vv1lCc8PTcDfR6OuroqCW+M5qsd05944pEeG8zCET77oY0\n Ui7yKdQHgGtMSB67gL0KY2Ktz8SutF0wcMRmxwfoEimNuVxnHB/7jDYMgDbKXj5StZup\n 071x5+qJOtTNtVICy8gPTaBJDlfq6QArAVKQedHK6ae1nuXen2tO6snYpSfjBPP9z9z8\n i3GQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777785784; x=1778390584;\n h=to:subject:message-id:date:from:mime-version:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=/VZ/5/407Nd3SQeAFCx4J+59oZOiGSrCFz99pncyX9I=;\n b=GcM1MAIAmQxd8TuyhmGS4+sNfrVmc9/z3WAOlAnJg+hnHIdbkLDf9Fl//4sVDXv/R2\n MC1t4KteooMQL8tqiy8H7QAWOmRv8ZUcm4uHeiN5v1pxn8GOqkTh26g0xR4rlQZYQhzR\n l53llpaUo/xPP1CZBb0l+c7LJRHKZWGRQAcNmFOptwTXKcVxbnvccuveeQebzhlmlca4\n dFYQEZXfL3XMFYt93bpxWOxrncjBIu5UUWtwsuc5QQhiZYfjHrXeUg7qOGkCi9IRXAbc\n /BHOWdt6fJOuNmTj1q87rRBBi3ffg5oVg9VhFwra2KI++FTPSvcE8s+BhmJ1c/0f2Eg3\n aTow==",
        "X-Gm-Message-State": "AOJu0YxSJqepDFzCuRw9yzpCSLO3j4ya42LY+xFp852TqXo8IgduAIMf\n mBgwGxzN7+vSyNGUbR+AxL0V9YXU1QkcjVBQ3b3k+2pJjuQRVk2QZ9S7Dy7d4N252f55aeV0yTs\n U9G/b+vhEvD2U4rEyEpTyAgo4LE9CsyvcxEOqK4M=",
        "X-Gm-Gg": "AeBDieu38H6gWWcHbrNb/cwibKmPttk4N7xBKDvNzLQN5bqlk/Tbr+g4f+tHoTSg4um\n uNTnhiu8kDcKkhnp0LSsOtVjYmrkargM4KIb7tmhfdDyngf+kptDzxYfXXmHCL0qK+0eYH2hMfR\n y5XGNgJrcSDGNVCZ6IQ07QktecTI12djSVVXuv7NXOMPy4ZbntSfjqbqaTmjgGdNUcxT4S9/7gC\n CJgKE6xQFJk2oSD75fL17Af6GaCErBfvaf4wvoejVOhRoEQx0vqd4pUosGPo8LTFyNom0h15/VV\n xr+7iQ9CpcHOZL8ZEQdxq6Qur/gSmDiO741AgjUG5Uy/ohTacLU=",
        "X-Received": "by 2002:a17:906:eec5:b0:bae:7277:1272 with SMTP id\n a640c23a62f3a-bbffd8d51f3mr257639966b.36.1777785784118; Sat, 02 May 2026\n 22:23:04 -0700 (PDT)",
        "MIME-Version": "1.0",
        "From": "Sai Charan Marrivada <saicharanmarrivada0@gmail.com>",
        "Date": "Sun, 3 May 2026 10:52:52 +0530",
        "X-Gm-Features": "AVHnY4ImLFFvwZhYQmHgCD6JMjC1BFMX1p6b4Ns5qOf2JgigCL5Mk2FOO6EGNcg",
        "Message-ID": "\n <CANLJ0Ti_DejYosy8QD91ACYr7wQhC6HtVczDDFgGzQwgkODDrg@mail.gmail.com>",
        "Subject": "[PATCH] Return *this instead of this in `bbitmap.h`",
        "To": "gcc-patches@gcc.gnu.org",
        "Content-Type": "multipart/alternative; boundary=\"000000000000262fb00650e302d6\"",
        "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": "From 1f06950ff2f2c2027199fd59116e7bec2e668441 Mon Sep 17 00:00:00 2001\nFrom: SaiCharanMarrivada <saicharanmarrivada0@gmail.com>\nDate: Sun, 3 May 2026 00:21:07 +0530\nSubject: [PATCH] Return *this instead of this in `bbitmap.h`\n\n2026-05-02  Sai Charan Marrivada  <saicharanmarrivada0@gmail.com>\n* bbitmap.h: Return *this instead of this in\nbbitmap<N>::operator&=, bbitmap<N>::operator|=, and\nbbitmap<N>::operator^=.\n\nSigned-off-by: Sai Charan Marrivada <saicharanmarrivada0@gmail.com>\n---\n gcc/bbitmap.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/gcc/bbitmap.h b/gcc/bbitmap.h\nindex e8da6cf59..00341bd66 100644\n--- a/gcc/bbitmap.h\n+++ b/gcc/bbitmap.h\n@@ -146,12 +146,12 @@ public:\n       (bbitmap_element_or<uint64_t>, *this, other);\n   }\n\n-  bbitmap<N> operator|=(const bbitmap<N> other)\n+  bbitmap<N> &operator|=(const bbitmap<N> other)\n   {\n     for (int i = 0; i < N; i++)\n       val[i] |= other.val[i];\n\n-    return this;\n+    return *this;\n   }\n\n   constexpr bbitmap<N> operator&(const bbitmap<N> other) const\n@@ -160,12 +160,12 @@ public:\n       (bbitmap_element_and<uint64_t>, *this, other);\n   }\n\n-  bbitmap<N> operator&=(const bbitmap<N> other)\n+  bbitmap<N> &operator&=(const bbitmap<N> other)\n   {\n     for (int i = 0; i < N; i++)\n       val[i] &= other.val[i];\n\n-    return this;\n+    return *this;\n   }\n\n   constexpr bbitmap<N> operator^(const bbitmap<N> other) const\n@@ -174,12 +174,12 @@ public:\n       (bbitmap_element_xor<uint64_t>, *this, other);\n   }\n\n-  bbitmap<N> operator^=(const bbitmap<N> other)\n+  bbitmap<N> &operator^=(const bbitmap<N> other)\n   {\n     for (int i = 0; i < N; i++)\n       val[i] ^= other.val[i];\n\n-    return this;\n+    return *this;\n   }\n\n   constexpr bbitmap<N> operator~() const\n",
    "prefixes": []
}