get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197085,
    "url": "http://patchwork.ozlabs.org/api/patches/2197085/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260217030457.1284418-1-dmalcolm@redhat.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": "<20260217030457.1284418-1-dmalcolm@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-17T03:04:57",
    "name": "[pushed:,r16-7535] testsuite: fix analyzer failures seen after r16-3810 [PR121928]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "80eea946f2526ff10e73bdd988336a46ceae6e4a",
    "submitter": {
        "id": 24465,
        "url": "http://patchwork.ozlabs.org/api/people/24465/?format=api",
        "name": "David Malcolm",
        "email": "dmalcolm@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260217030457.1284418-1-dmalcolm@redhat.com/mbox/",
    "series": [
        {
            "id": 492365,
            "url": "http://patchwork.ozlabs.org/api/series/492365/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492365",
            "date": "2026-02-17T03:04:57",
            "name": "[pushed:,r16-7535] testsuite: fix analyzer failures seen after r16-3810 [PR121928]",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492365/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2197085/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197085/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=HC5JTOqu;\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 (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=HC5JTOqu",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124"
        ],
        "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 4fFPfT0q0Wz1xwD\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 14:05:53 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id B44E94BAD169\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 03:05:50 +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 02F5B4BA23D7\n for <gcc-patches@gcc.gnu.org>; Tue, 17 Feb 2026 03:05:02 +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-651-WluvlW2aM4yp4lTFX-PGMw-1; Mon,\n 16 Feb 2026 22:05:00 -0500",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\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 56E5219560A7\n for <gcc-patches@gcc.gnu.org>; Tue, 17 Feb 2026 03:04:59 +0000 (UTC)",
            "from t14s.localdomain.com (unknown [10.22.88.22])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id B43D219560A2; Tue, 17 Feb 2026 03:04:58 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org B44E94BAD169",
            "OpenDKIM Filter v2.11.0 sourceware.org 02F5B4BA23D7"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 02F5B4BA23D7",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 02F5B4BA23D7",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771297503; cv=none;\n b=h98ydZwPFa33B6sbA4zHhj9bIrmd1ubj5eLPgcdECtwUdjz+WCldb0YVGsHzDXpfqEw97AeLsW8otrxURrfpk8LcQ7FvsLHm99llOZtQHtqVu6186FMUX6P+4DUvEFgTpKTkDonxfy1C/GdfrrpWp1+3RzBBRlshRez+c2+aqPc=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771297503; c=relaxed/simple;\n bh=TGg4Ajw7kcObtjst3MzOAV1MJoKVK1IJUk2nin6bDN4=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=sZZIjOxi0S2CrtscmF9iWR3fty6qErGwXsRj/MjPUPYhkZiTYqFXcr6FOoW+TFohmUF04bprwTpkUkpGyTUFCRH3iTThAuxyrrXKllNSfAMWvQwLCNYHdI3E8HQsufUB0xpcbGpCDhgr9mr8uUgLxk8HN9O9qQI8tqCibGpjBr8=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1771297502;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=f1lIe7fIo8Yfu5PaLMcR9JeiOeX5gw2QRNirlRZ9j2Q=;\n b=HC5JTOqujk7pQKEboUHolS4+SniyzGOl2USTR3k4SeeXo4tl8R8fv+Bbmo3cJoHDv4/ClG\n C1wOIa9e0prihE3B7olV7SgS0EJEI4VwkwrOsqwY5pHmhP65iilI8aqD9EXGhs7l0lrttg\n NEvuLem42xIwWkbCNCyDT7FWZPdPb6E=",
        "X-MC-Unique": "WluvlW2aM4yp4lTFX-PGMw-1",
        "X-Mimecast-MFC-AGG-ID": "WluvlW2aM4yp4lTFX-PGMw_1771297499",
        "From": "David Malcolm <dmalcolm@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "David Malcolm <dmalcolm@redhat.com>",
        "Subject": "[pushed: r16-7535] testsuite: fix analyzer failures seen after\n r16-3810 [PR121928]",
        "Date": "Mon, 16 Feb 2026 22:04:57 -0500",
        "Message-ID": "<20260217030457.1284418-1-dmalcolm@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "ACDxiZ0TdarUVppJNfIuxSx0GRNGGpeLHtCUpsBphvI_1771297499",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "Successfully regrtested on x86_64-pc-linux-gnu.\nVerified fix on aarch64-unknown-linux-gnu.\nPushed to trunk as r16-7535-g5a59c591686551.\n\ngcc/testsuite/ChangeLog:\n\tPR analyzer/121928\n\t* g++.dg/analyzer/fanalyzer-show-events-in-system-headers-default.C:\n\tAdd -Wno-analyzer-too-complex.\n\t* g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C:\n\tLikewise.\n\t* g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C:\n\tLikewise.\n\nSigned-off-by: David Malcolm <dmalcolm@redhat.com>\n---\n .../analyzer/fanalyzer-show-events-in-system-headers-default.C   | 1 +\n .../g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C | 1 +\n .../g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C    | 1 +\n 3 files changed, 3 insertions(+)",
    "diff": "diff --git a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-default.C b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-default.C\nindex 0a1acfc2fb8e4..609c407cb360e 100644\n--- a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-default.C\n+++ b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-default.C\n@@ -1,4 +1,5 @@\n /* { dg-skip-if \"no shared_ptr in C++98\" { c++98_only }  } */\n+/* { dg-additional-options \"-Wno-analyzer-too-complex\" } */\n /* { dg-skip-if \"requires hosted libstdc++ for memory shared_ptr\" { ! hostedlib } } */\n \n #define _GLIBCXX_SYSHDR\ndiff --git a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C\nindex 2fa99a37f810d..6f36a8e16fe9c 100644\n--- a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C\n+++ b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers-no.C\n@@ -1,4 +1,5 @@\n /* { dg-additional-options \"-fno-analyzer-show-events-in-system-headers\" } */\n+/* { dg-additional-options \"-Wno-analyzer-too-complex\" } */\n /* { dg-skip-if \"no shared_ptr in C++98\" { c++98_only }  } */\n /* { dg-skip-if \"requires hosted libstdc++ for memory shared_ptr\" { ! hostedlib } } */\n \ndiff --git a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C\nindex cb04fa00443c2..f85f591064616 100644\n--- a/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C\n+++ b/gcc/testsuite/g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C\n@@ -1,4 +1,5 @@\n /* { dg-additional-options \"-fanalyzer-show-events-in-system-headers\" } */\n+/* { dg-additional-options \"-Wno-analyzer-too-complex\" } */\n /* { dg-skip-if \"no shared_ptr in C++98\" { c++98_only }  } */\n /* { dg-skip-if \"requires hosted libstdc++ for memory shared_ptr\" { ! hostedlib } } */\n \n",
    "prefixes": [
        "pushed:",
        "r16-7535"
    ]
}