get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226334,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2226334/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.1@forge-stage.sourceware.org/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.1@forge-stage.sourceware.org>",
    "list_archive_url": null,
    "date": "2026-04-22T10:49:10",
    "name": "[v1,01/15] Remove the rest of INCLUDE_MEMORY",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2c939ca96c49ddd0a641e4559c9193b1b042f2fc",
    "submitter": {
        "id": 93219,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/93219/?format=api",
        "name": "Andrew Pinski via Sourceware Forge",
        "email": "forge-bot+pinskia@forge-stage.sourceware.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.1@forge-stage.sourceware.org/mbox/",
    "series": [
        {
            "id": 500990,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/500990/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500990",
            "date": "2026-04-22T10:49:12",
            "name": "copy-prop-arg",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500990/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226334/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226334/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; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org",
            "sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39"
        ],
        "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 4g0xqv00RVz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:31:06 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id ACF124318B41\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 11:31:04 +0000 (GMT)",
            "from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 7D6FC41BBF75\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:50:31 +0000 (GMT)",
            "from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 57B9442BD6\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:50:31 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org ACF124318B41",
            "OpenDKIM Filter v2.11.0 sourceware.org 7D6FC41BBF75"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 7D6FC41BBF75",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 7D6FC41BBF75",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776855031; cv=none;\n b=bwZWtbM7FP+wNkIwLGoU0/9SQTUjlqliqc6Em15Q4lKRvu/ssOwyE9xyM92pVCVFzi2XQnNiSHj7SJObvH4TXJfnw6xNDXdQajQbMf2jx4hfc5MJv3VXb1KcE578mucCDI8orsSjbBb+Zx4vX9v4S7hvbYhdN/Cv2eQ+nrftHNE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776855031; c=relaxed/simple;\n bh=MwraFS+/q/oxCBM6eIHDFzyTOVUI2AMHI5RHwjr9fZk=;\n h=From:Date:Subject:To:Message-ID;\n b=PuChV1050+M/yCM8+cvgZVPnpRYKkrfZRxZAajvUJjy9aZf1RwtVYrAbZYSCx24OXpt4Y9R4zlUVFk/5MWccD0XI3LKDVvQBrPX1KavuUUTeijj97I2t6H1vLZWe+8VTSxHNJuMxtUY0w7wx7kwb/yK1B4gjp5O8O+LtzYzhBPs=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Andrew Pinski via Sourceware Forge\n <forge-bot+pinskia@forge-stage.sourceware.org>",
        "Date": "Wed, 22 Apr 2026 10:49:10 +0000",
        "Subject": "[PATCH v1 01/15] Remove the rest of INCLUDE_MEMORY",
        "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>",
        "Message-ID": "\n <bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.1@forge-stage.sourceware.org>",
        "X-Mailer": "batrachomyomachia",
        "X-Pull-Request-Organization": "gcc",
        "X-Pull-Request-Repository": "gcc-TEST",
        "X-Pull-Request": "https://forge.sourceware.org/gcc/gcc-TEST/pulls/33",
        "References": "\n <bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org>",
        "In-Reply-To": "\n <bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org>",
        "X-Patch-URL": "\n https://forge.sourceware.org/pinskia/gcc-TEST/commit/c00f246a44371a8f1b46f15a3b8f8030c9f9ecb0",
        "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": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n pinskia@gcc.gnu.org",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "From: Andrew Pinski <quic_apinski@quicinc.com>\n\nI missed these in r15-5603-gb3f1b9e2aa079f8ec73e because they\nwere no in a `.cc` or `.h` file or they were outside of the gcc\nsubdirectory.\n\nBootstrapped and tested on x86_64-linux-gnu.\n\ngcc/m2/ChangeLog:\n\n\t* mc/keyc.mod: Don't print `#define INCLUDE_MEMORY`.\n\ngcc/ChangeLog:\n\n\t* optc-gen.awk: Don't print `#define INCLUDE_MEMORY`.\n\t* optc-save-gen.awk: Likewise.\n\t* options-urls-cc-gen.awk: Likewise.\n\nlibcc1/ChangeLog:\n\n\t* libcc1plugin.cc (INCLUDE_MEMORY): Remove.\n\t* libcp1plugin.cc (INCLUDE_MEMORY): Remove.\n\nlibgcc/ChangeLog:\n\n\t* libgcov-util.c (INCLUDE_MEMORY): Remove.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/plugin/analyzer_cpython_plugin.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/analyzer_gil_plugin.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/analyzer_kernel_plugin.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/analyzer_known_fns_plugin.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/dump_plugin.cc (INCLUDE_MEMORY): Remove.\n\t* gcc.dg/plugin/ggcplug.cc (INCLUDE_MEMORY): Remove.\n\nSigned-off-by: Andrew Pinski <quic_apinski@quicinc.com>\n---\n gcc/optc-gen.awk                                              | 1 -\n gcc/optc-save-gen.awk                                         | 1 -\n gcc/options-urls-cc-gen.awk                                   | 1 -\n gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc        | 1 -\n gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc            | 1 -\n gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc         | 1 -\n gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc      | 1 -\n gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc | 1 -\n gcc/testsuite/gcc.dg/plugin/dump_plugin.cc                    | 1 -\n gcc/testsuite/gcc.dg/plugin/ggcplug.cc                        | 1 -\n libcc1/libcc1plugin.cc                                        | 1 -\n libcc1/libcp1plugin.cc                                        | 1 -\n libgcc/libgcov-util.c                                         | 1 -\n 13 files changed, 13 deletions(-)",
    "diff": "diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk\nindex 3d074e4d6fe0..7ba031bd2c64 100644\n--- a/gcc/optc-gen.awk\n+++ b/gcc/optc-gen.awk\n@@ -158,7 +158,6 @@ for (i = 0; i < n_opts; i++) {\n \n print \"/* This file is auto-generated by optc-gen.awk.  */\"\n print \"\"\n-print \"#define INCLUDE_MEMORY\"\n n_headers = split(header_name, headers, \" \")\n for (i = 1; i <= n_headers; i++)\n \tprint \"#include \" quote headers[i] quote\ndiff --git a/gcc/optc-save-gen.awk b/gcc/optc-save-gen.awk\nindex a3d7e5a478e4..fe19742f1703 100644\n--- a/gcc/optc-save-gen.awk\n+++ b/gcc/optc-save-gen.awk\n@@ -31,7 +31,6 @@\n END {\n print \"/* This file is auto-generated by optc-save-gen.awk.  */\"\n print \"\"\n-print \"#define INCLUDE_MEMORY\"\n n_headers = split(header_name, headers, \" \")\n for (i = 1; i <= n_headers; i++)\n \tprint \"#include \" quote headers[i] quote\ndiff --git a/gcc/options-urls-cc-gen.awk b/gcc/options-urls-cc-gen.awk\nindex a4ad59ab4d48..9d6c737a2efd 100644\n--- a/gcc/options-urls-cc-gen.awk\n+++ b/gcc/options-urls-cc-gen.awk\n@@ -29,7 +29,6 @@ END {\n \n print \"/* This file is auto-generated by options-urls-cc-gen.awk.  */\"\n print \"\"\n-print \"#define INCLUDE_MEMORY\"\n n_headers = split(header_name, headers, \" \")\n for (i = 1; i <= n_headers; i++)\n \tprint \"#include \" quote headers[i] quote\ndiff --git a/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc b/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc\nindex 467af16c3d1e..4bdd5f22ecd5 100644\n--- a/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc\n@@ -1,7 +1,6 @@\n /* -fanalyzer plugin for CPython extension modules  */\n /* { dg-options \"-g\" } */\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"config.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc b/gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc\nindex 77767c88ad74..a41536078688 100644\n--- a/gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc\n@@ -4,7 +4,6 @@\n */\n /* { dg-options \"-g\" } */\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"config.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc b/gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc\nindex 7f2158ec54d5..b4abde87c1ee 100644\n--- a/gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc\n@@ -1,7 +1,6 @@\n /* Proof-of-concept of a -fanalyzer plugin for the Linux kernel.  */\n /* { dg-options \"-g\" } */\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"config.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc b/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\nindex c0604070552a..b1b18db35b69 100644\n--- a/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\n@@ -1,7 +1,6 @@\n /* Proof-of-concept of a -fanalyzer plugin to handle known functions.  */\n /* { dg-options \"-g\" } */\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"config.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc b/gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc\nindex 2ce267c32078..0e8763df0fc5 100644\n--- a/gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc\n@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3.  If not see\n #include \"config.h\"\n #define INCLUDE_LIST\n #define INCLUDE_MAP\n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"system.h\"\n #include \"coretypes.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/dump_plugin.cc b/gcc/testsuite/gcc.dg/plugin/dump_plugin.cc\nindex fc76d69adb1d..12573d66af21 100644\n--- a/gcc/testsuite/gcc.dg/plugin/dump_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/dump_plugin.cc\n@@ -1,6 +1,5 @@\n /* Plugin for testing dumpfile.c.  */\n \n-#define INCLUDE_MEMORY\n #include \"gcc-plugin.h\"\n #include \"config.h\"\n #include \"system.h\"\ndiff --git a/gcc/testsuite/gcc.dg/plugin/ggcplug.cc b/gcc/testsuite/gcc.dg/plugin/ggcplug.cc\nindex d8199038b69b..a75eed0e3985 100644\n--- a/gcc/testsuite/gcc.dg/plugin/ggcplug.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/ggcplug.cc\n@@ -1,7 +1,6 @@\n /* This plugin tests the GGC related plugin events.  */\n /* { dg-options \"-O\" } */\n \n-#define INCLUDE_MEMORY\n #include \"config.h\"\n #include \"system.h\"\n #include \"coretypes.h\"\ndiff --git a/libcc1/libcc1plugin.cc b/libcc1/libcc1plugin.cc\nindex 44ef438ba9a2..2be96bb72df7 100644\n--- a/libcc1/libcc1plugin.cc\n+++ b/libcc1/libcc1plugin.cc\n@@ -31,7 +31,6 @@\n #undef PACKAGE_TARNAME\n #undef PACKAGE_VERSION\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"system.h\"\ndiff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc\nindex 3c5e78bfe877..e0d16b0e9091 100644\n--- a/libcc1/libcp1plugin.cc\n+++ b/libcc1/libcp1plugin.cc\n@@ -32,7 +32,6 @@\n #undef PACKAGE_TARNAME\n #undef PACKAGE_VERSION\n \n-#define INCLUDE_MEMORY\n #define INCLUDE_VECTOR\n #include \"gcc-plugin.h\"\n #include \"system.h\"\ndiff --git a/libgcc/libgcov-util.c b/libgcc/libgcov-util.c\nindex 73ffce23d720..93015d7698a4 100644\n--- a/libgcc/libgcov-util.c\n+++ b/libgcc/libgcov-util.c\n@@ -27,7 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see\n \n #define IN_GCOV_TOOL 1\n \n-#define INCLUDE_MEMORY\n #include \"libgcov.h\"\n #include \"intl.h\"\n #include \"diagnostic.h\"\n",
    "prefixes": [
        "v1",
        "01/15"
    ]
}