get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196517,
    "url": "http://patchwork.ozlabs.org/api/patches/2196517/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.DEB.2.21.2602141348380.2574@angie.orcam.me.uk/",
    "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": "<alpine.DEB.2.21.2602141348380.2574@angie.orcam.me.uk>",
    "list_archive_url": null,
    "date": "2026-02-14T14:26:08",
    "name": "[committed] VAX: Fix invalid RTX operand access in `nonindexed_address_p'",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "22aa8d9634a49c5b60c4f776e6cbfc775758b038",
    "submitter": {
        "id": 80960,
        "url": "http://patchwork.ozlabs.org/api/people/80960/?format=api",
        "name": "Maciej W. Rozycki",
        "email": "macro@orcam.me.uk"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.DEB.2.21.2602141348380.2574@angie.orcam.me.uk/mbox/",
    "series": [
        {
            "id": 492174,
            "url": "http://patchwork.ozlabs.org/api/series/492174/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492174",
            "date": "2026-02-14T14:26:08",
            "name": "[committed] VAX: Fix invalid RTX operand access in `nonindexed_address_p'",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492174/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196517/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196517/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 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 dmarc=none (p=none dis=none) header.from=orcam.me.uk",
            "sourceware.org; spf=none smtp.mailfrom=orcam.me.uk",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=78.133.224.34"
        ],
        "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 4fCrvM4jt0z1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 01:26:39 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 4D6004BAD151\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 14:26:37 +0000 (GMT)",
            "from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34])\n by sourceware.org (Postfix) with ESMTP id AB8D74B9DB7C\n for <gcc-patches@gcc.gnu.org>; Sat, 14 Feb 2026 14:26:09 +0000 (GMT)",
            "by angie.orcam.me.uk (Postfix, from userid 500)\n id EEFD292009C; Sat, 14 Feb 2026 15:26:08 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by angie.orcam.me.uk (Postfix) with ESMTP id EB9BF92009B\n for <gcc-patches@gcc.gnu.org>; Sat, 14 Feb 2026 14:26:08 +0000 (GMT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 4D6004BAD151",
            "OpenDKIM Filter v2.11.0 sourceware.org AB8D74B9DB7C"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org AB8D74B9DB7C",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org AB8D74B9DB7C",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771079169; cv=none;\n b=uT0BJEm6bPrcpLYFn1HAMuAveWBQ9+WKuN2feJ/FjENgd+1wwE7eWfZ8O0hw8wcJht6Jv1WRPDP2c9VGIVQDG6BCFrayAs4Dh/GSEi0/kh+BvrORmkmLudk3Jr0L6Pz0WEefGoiLo6+kFoAklHojQOR/3x6/WRfhmOQ3Z1n4S3s=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771079169; c=relaxed/simple;\n bh=9fhExRzwLGnGZ3kaTclCwvz7kS8q1/yrxCjG/eRQ0BI=;\n h=Date:From:To:Subject:Message-ID:MIME-Version;\n b=WhgGuTLAT4S7rMU1E2qBnx+/U7TqJKLdSugoJznV3Lt/p6NKhTXfGQosRUQIPZ/cM0eco8Pr2LcZXGk5IwW6lwb0WOY4MoprJR247oTdnA8H7SGh1HGKzNTUNuSWy6ZdXnO+v36iicCUQRMiQ+gFjewPEtrY7cI7kFWVXKbNJcg=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "Date": "Sat, 14 Feb 2026 14:26:08 +0000 (GMT)",
        "From": "\"Maciej W. Rozycki\" <macro@orcam.me.uk>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[committed] VAX: Fix invalid RTX operand access in\n `nonindexed_address_p'",
        "Message-ID": "<alpine.DEB.2.21.2602141348380.2574@angie.orcam.me.uk>",
        "User-Agent": "Alpine 2.21 (DEB 202 2017-01-01)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "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": "Replace an unguarded early access to the incoming RTX's operand 0 in \n`nonindexed_address_p' with direct accesses at the actual use places, \nfixing a libgcc build error:\n\nduring RTL pass: reload\n.../libgcc/libgcc2.c: In function '__udiv_w_sdiv':\n.../libgcc/libgcc2.c:649:1: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'r' (rtx reg) in nonindexed_address_p, at config/vax/vax.cc:1826\n\nwhere `--enable-checking=rtl' has been specified so as to enable RTL \nconsistency checks.\n\n\tgcc/\n\t* config/vax/vax.cc (nonindexed_address_p): Move incoming RTX's \n\toperand 0 access to the actual use places.\n---\nHi,\n\n I have committed this fix executing a target maintainer's liberty to \napply reasonable changes during Stage 4.  While not a recent regression, \nsince this code has been there going back at least to 2005, it is a fix to \na GCC build failure and no actual functional change as to code produced, \nso it is safe to make, while making it easier to catch any issue arising \nfrom another change.  And the VAX port surely is not a tier 1 GCC target \nanyway.\n\n  Maciej\n---\n gcc/config/vax/vax.cc |    6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)\n\ngcc-vax-nonindexed-address-xexp-reg.patch",
    "diff": "Index: gcc/gcc/config/vax/vax.cc\n===================================================================\n--- gcc.orig/gcc/config/vax/vax.cc\n+++ gcc/gcc/config/vax/vax.cc\n@@ -1811,7 +1811,6 @@ indirectable_address_p (rtx x, bool stri\n static bool\n nonindexed_address_p (rtx x, bool strict)\n {\n-  rtx xfoo0;\n   if (REG_P (x))\n     {\n       if (! reload_in_progress\n@@ -1823,11 +1822,10 @@ nonindexed_address_p (rtx x, bool strict\n     return true;\n   if (indirectable_address_p (x, strict, false))\n     return true;\n-  xfoo0 = XEXP (x, 0);\n-  if (MEM_P (x) && indirectable_address_p (xfoo0, strict, true))\n+  if (MEM_P (x) && indirectable_address_p (XEXP (x, 0), strict, true))\n     return true;\n   if ((GET_CODE (x) == PRE_DEC || GET_CODE (x) == POST_INC)\n-      && BASE_REGISTER_P (xfoo0, strict))\n+      && BASE_REGISTER_P (XEXP (x, 0), strict))\n     return true;\n   return false;\n }\n",
    "prefixes": [
        "committed"
    ]
}