get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194376,
    "url": "http://patchwork.ozlabs.org/api/patches/2194376/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260208184929.438563-1-dimitar@dinux.eu/",
    "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": "<20260208184929.438563-1-dimitar@dinux.eu>",
    "list_archive_url": null,
    "date": "2026-02-08T18:49:29",
    "name": "[committed] testsuite: Fix ice-pr116228.C test for 32-bit targets",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b038d25be47dd2beadda192fd70c9244e7490597",
    "submitter": {
        "id": 74290,
        "url": "http://patchwork.ozlabs.org/api/people/74290/?format=api",
        "name": "Dimitar Dimitrov",
        "email": "dimitar@dinux.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260208184929.438563-1-dimitar@dinux.eu/mbox/",
    "series": [
        {
            "id": 491433,
            "url": "http://patchwork.ozlabs.org/api/series/491433/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491433",
            "date": "2026-02-08T18:49:29",
            "name": "[committed] testsuite: Fix ice-pr116228.C test for 32-bit targets",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491433/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194376/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194376/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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256\n header.s=default header.b=XXUPCT84;\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=fail reason=\"signature verification failed\" (2048-bit key,\n unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256\n header.s=default header.b=XXUPCT84",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=dinux.eu",
            "sourceware.org; spf=pass smtp.mailfrom=dinux.eu",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=217.174.156.11"
        ],
        "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 4f8H340sfFz1xtr\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Feb 2026 05:50:53 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 73C7048EE9FC\n\tfor <incoming@patchwork.ozlabs.org>; Sun,  8 Feb 2026 18:50:44 +0000 (GMT)",
            "from server28.superhosting.bg (server28.superhosting.bg\n [217.174.156.11])\n by sourceware.org (Postfix) with ESMTPS id 5333548EEBD3\n for <gcc-patches@gcc.gnu.org>; Sun,  8 Feb 2026 18:50:05 +0000 (GMT)",
            "from 95-42-20-142.ip.btc-net.bg ([95.42.20.142]:50352\n helo=kendros.lan)\n by server28.superhosting.bg with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <dimitar@dinux.eu>)\n id 1vp9r6-00000007ByI-2ma9; Sun, 08 Feb 2026 20:50:02 +0200"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 73C7048EE9FC",
            "OpenDKIM Filter v2.11.0 sourceware.org 5333548EEBD3"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 5333548EEBD3",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 5333548EEBD3",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770576605; cv=none;\n b=v1Qn7OPfsEu1uHbyqk94im8BL59LSadWCuANidrGfds4AcMFMUZjdDmGNWs2cj/KF7XDR9wFPKO52d3vT2KFkSmr42FJ5WiLVPkR3K3GyKCS1qel58zLYK0d3fOWQDBc/eNz10wqKCiCeq1BpBcq3WRRv0BSdSJxXRetNlmHNFk=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770576605; c=relaxed/simple;\n bh=Vpkdaau8fK2iRcn2HAdzIJUe7jHFtFDKrH463iV8eL4=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=nw+IAT0HDelVmVguCgGZfsyyeswOgsHvMZh90MV/m2co2lL4+Nnx6tY0QgT78wH3+EelbZiqBhoID6SAWWev8idcCTb7BPWaICW31U5HeZKBPJv8+z0nPo/rX+vMOzW2KJdlkNmtqDtlMGB93ISnpe+pWN5yEzX7yTvaHNmrLgY=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu;\n s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:\n Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:\n Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n List-Post:List-Owner:List-Archive;\n bh=suUdhXbQ846k1HVzjCrbUXxgkcRqY1sy6rI9tK20CIk=; b=XXUPCT84VUK/jBlb+2jBjU2StK\n 1tAgNLMRqIJ3xllISw7eZ6aF3/1WlDtUSEzcit1DP4GgXSxFN66VB4uN5g/ZL7A7WHf6AjqS7r+ug\n zH9pPo057EKoKv6ujbW2J/P89TWZru4ENHJHMiLgYOBgOU1xcgASZ3AV/kufxkdAr2WcODj0OZetA\n pUE8BHeAdo6ziFFuALrEAzmAHpWmKlUgTM1S6zR39iI20opGjx2Q5R5Kp8haw9ij9+E4QSSgZGKr4\n 7NjUHeH7d73r0myXDzyLcXGVV3NIKyeq5IOmzXsPPSBX2xVHkIaZ2l38L183iesNjKK00qBk8QHW+\n QR2rqcNA==;",
        "From": "Dimitar Dimitrov <dimitar@dinux.eu>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Dimitar Dimitrov <dimitar@dinux.eu>,\n\tDavid Malcolm <dmalcolm@redhat.com>",
        "Subject": "[committed] testsuite: Fix ice-pr116228.C test for 32-bit targets",
        "Date": "Sun,  8 Feb 2026 20:49:29 +0200",
        "Message-ID": "<20260208184929.438563-1-dimitar@dinux.eu>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-AntiAbuse": [
            "This header was added to track abuse,\n please include it with any abuse report",
            "Primary Hostname - server28.superhosting.bg",
            "Original Domain - gcc.gnu.org",
            "Originator/Caller UID/GID - [47 12] / [47 12]",
            "Sender Address Domain - dinux.eu"
        ],
        "X-Get-Message-Sender-Via": "server28.superhosting.bg: authenticated_id:\n dimitar@dinux.eu",
        "X-Authenticated-Sender": "server28.superhosting.bg: dimitar@dinux.eu",
        "X-Source": "",
        "X-Source-Args": "",
        "X-Source-Dir": "",
        "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": "This test fails on 32-bit targets:\n  ..../gcc/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C:3:7: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive]\n\nFix by using proper __SIZE_TYPE__ type.\n\nEnsured that the test still passes with this patch.  Also, reverted the\nfix for r16-7383-gf3f7e7514a794f, and ensured that the test still can\nexpose the ICE on x86_64-pc-linux-gnu:\n\n  $ make check-gcc-c++ RUNTESTFLAGS=\"--target_board=unix/ analyzer.exp=ice-pr116228.C\"\n  FAIL: g++.dg/analyzer/ice-pr116228.C  -std=c++20 (internal compiler error: in get_or_create_null_ptr, at analyzer/region-model-manager.cc:257)\n  # of unexpected failures        6\n\n  $ make check-gcc-c++ RUNTESTFLAGS=\"--target_board=unix/-m32 analyzer.exp=ice-pr116228.C\"\n  FAIL: g++.dg/analyzer/ice-pr116228.C  -std=c++20 (internal compiler error: in get_or_create_null_ptr, at analyzer/region-model-manager.cc:257)\n  # of unexpected failures        6\n\nPushed to trunk as obvious.\n\ngcc/testsuite/ChangeLog:\n\n\t* g++.dg/analyzer/ice-pr116228.C: Use __SIZE_TYPE__ for \"new\"\n\toperator declaration.\n\nCc: David Malcolm <dmalcolm@redhat.com>\nSigned-off-by: Dimitar Dimitrov <dimitar@dinux.eu>\n---\n gcc/testsuite/g++.dg/analyzer/ice-pr116228.C | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C b/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C\nindex df6d2aabbda..837419da979 100644\n--- a/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C\n+++ b/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C\n@@ -1,6 +1,6 @@\n // { dg-additional-options \"-O3\" }\n \n-void *operator new(unsigned long, void *);\n+void *operator new(__SIZE_TYPE__, void *);\n int to_constant();\n int vec_copy_construct_n, vec_stmts_size, vectorizable_load_vec_stmt,\n     vectorizable_load_offvar;\n",
    "prefixes": [
        "committed"
    ]
}