get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197154,
    "url": "http://patchwork.ozlabs.org/api/patches/2197154/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/yddecmjwz0s.fsf@CeBiTec.Uni-Bielefeld.DE/",
    "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": "<yddecmjwz0s.fsf@CeBiTec.Uni-Bielefeld.DE>",
    "list_archive_url": null,
    "date": "2026-02-17T08:32:51",
    "name": "[COMMITTED] testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b293c61d759b16e22bfda762da0b1b5bf5af4782",
    "submitter": {
        "id": 4362,
        "url": "http://patchwork.ozlabs.org/api/people/4362/?format=api",
        "name": "Rainer Orth",
        "email": "ro@CeBiTec.Uni-Bielefeld.DE"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/yddecmjwz0s.fsf@CeBiTec.Uni-Bielefeld.DE/mbox/",
    "series": [
        {
            "id": 492395,
            "url": "http://patchwork.ozlabs.org/api/series/492395/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492395",
            "date": "2026-02-17T08:32:51",
            "name": "[COMMITTED] testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492395/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2197154/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197154/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=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de\n header.a=rsa-sha256 header.s=20200306 header.b=Jc1Yh3OD;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de\n header.a=rsa-sha256 header.s=20200306 header.b=Jc1Yh3OD",
            "sourceware.org; dmarc=none (p=none dis=none)\n header.from=CeBiTec.Uni-Bielefeld.DE",
            "sourceware.org;\n spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=129.70.160.84"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4fFXwx0pkpz1xwD\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 19:33:53 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id DBA9A4BA23DC\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 08:33:50 +0000 (GMT)",
            "from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE\n [129.70.160.84])\n by sourceware.org (Postfix) with ESMTPS id 115924BA23F5\n for <gcc-patches@gcc.gnu.org>; Tue, 17 Feb 2026 08:32:53 +0000 (GMT)",
            "from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1])\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 21127E479E;\n Tue, 17 Feb 2026 09:32:52 +0100 (CET)",
            "from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1])\n by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new,\n port 10026)\n with ESMTP id Tiw_r-bs3GIj; Tue, 17 Feb 2026 09:32:51 +0100 (CET)",
            "from manam.CeBiTec.Uni-Bielefeld.DE (p508543ca.dip0.t-ipconnect.de\n [80.133.67.202]) (Authenticated sender: ro)\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id BD00DE4737;\n Tue, 17 Feb 2026 09:32:51 +0100 (CET)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org DBA9A4BA23DC",
            "OpenDKIM Filter v2.11.0 sourceware.org 115924BA23F5"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 115924BA23F5",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 115924BA23F5",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771317174; cv=none;\n b=IBif6zs16HgxJuMtLAoLq5pmtMvZavTt/qxVY7G3VL9z5gINpRmv5grKcxz8D7XmAB46sTJHkdswPTBRC6jn3GdpeVfN6Z9dwlLyCFfP58h1p+ObFES6MLVgWTHGhaEbg0Eieytps4YEcOK2kToFyJE22qAuPQC5Ooolz3tPhVQ=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771317174; c=relaxed/simple;\n bh=EunIqHYylFWFnRndKJILXesn2qRpcNywgmMhi+LM8aQ=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=xIKRtPdiPS5lU+nOToEfgoG0TMAfNritYld3t4VQ2n+NJNHhOQ83p6GTlxV9T2t5QL0WUKBL2CtoIn/7ZP7WEKwxyIEaf49PznmSRk2+rUv9Zusvt08mjULsB2yL5a61yaLWPJgZ6sk1Zalrm/yX9rFL2FVf9meLYedupMdQivM=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=\n cebitec.uni-bielefeld.de; h=content-type:content-type\n :mime-version:user-agent:message-id:date:date:subject:subject\n :from:from:received:received; s=20200306; t=1771317171; bh=EunIq\n HYylFWFnRndKJILXesn2qRpcNywgmMhi+LM8aQ=; b=Jc1Yh3ODZ9hQbbo0wl8A2\n ht2hl4CexZe9ORj6zcBH3EBTnLHdfQbIGlcXona0vCGtRO+zhTkWNyO3uBmv8/ux\n XKP6jnTI5Z66yIGXRL/kFohZBXNULvHVJgI8Z68gYGybAlBjFxwLlRZ3BJnrpaAp\n 4ln7w7B8shljUxXNGBH219aMRxjN9Q1F3EqmAiFeoH55USuQo655JBKBN2lk6DO+\n FirfkDfN5PZlGZ1k4apL/2NySmvtIcii3y92O1C+PeWBREsty7pwXFgzhik7SzFa\n EtOMrk6vZAj0VmZLJGNCXyQSM5arH6qkTRnB5O7zpq6V0OhhTI0yADv4oxGQXZpN\n A==",
        "X-Virus-Scanned": "amavisd-new at cebitec.uni-bielefeld.de",
        "From": "Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "H.J. Lu <hjl.tools@gmail.com>",
        "Subject": "[COMMITTED] testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas",
        "Date": "Tue, 17 Feb 2026 09:32:51 +0100",
        "Message-ID": "<yddecmjwz0s.fsf@CeBiTec.Uni-Bielefeld.DE>",
        "User-Agent": "Gnus/5.13 (Gnus v5.13)",
        "MIME-Version": "1.0",
        "Content-Type": "multipart/mixed; boundary=\"=-=-=\"",
        "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": "The gcc.dg/ipa/pr122458.c test FAILs on Solaris with the native assembler:\n\nFAIL: gcc.dg/ipa/pr122458.c (test for excess errors)\n\nExcess errors:\nAssembler: pr122458.c\n        \"/var/tmp//cctINwTd.s\", line 4 : Illegal mnemonic\n        Near line: \"    .dc.a foo\"\n        \"/var/tmp//cctINwTd.s\", line 4 : Syntax error\n        Near line: \"    .dc.a foo\"\n\nGiven that .dc.a is a gas extension, this patch xfail's the patch\nwithout gas.\n\nTested on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (as and gas),\nand x86_64-pc-linux-gnu.\n\nCommitted to trunk.\n\n\tRainer",
    "diff": "# HG changeset patch\n# Parent  ec9c618a208b14464891bc2c478a4235901d0b6b\ntestsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas\n\ndiff --git a/gcc/testsuite/gcc.dg/ipa/pr122458.c b/gcc/testsuite/gcc.dg/ipa/pr122458.c\n--- a/gcc/testsuite/gcc.dg/ipa/pr122458.c\n+++ b/gcc/testsuite/gcc.dg/ipa/pr122458.c\n@@ -1,6 +1,7 @@\n /* PR ipa/122458 */\n /* { dg-do link } */\n /* { dg-options \"-O2\" } */\n+/* { dg-xfail-if \".dc.a is a gas extension\" { ! gas } } */\n \n static int foo (void) { return 0; };\n \n",
    "prefixes": [
        "COMMITTED"
    ]
}