get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221309,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221309/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/yddqzooo95u.fsf@CeBiTec.Uni-Bielefeld.DE/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<yddqzooo95u.fsf@CeBiTec.Uni-Bielefeld.DE>",
    "date": "2026-04-09T08:00:29",
    "name": "[COMMITTED] testsuite: i386: Restrict gcc.target/i386/pr124759.c to Linux",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ad16b62ff7598ba5ef1816266d030eaf4886c24c",
    "submitter": {
        "id": 4362,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/4362/?format=api",
        "name": "Rainer Orth",
        "email": "ro@CeBiTec.Uni-Bielefeld.DE"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/yddqzooo95u.fsf@CeBiTec.Uni-Bielefeld.DE/mbox/",
    "series": [
        {
            "id": 499250,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499250/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499250",
            "date": "2026-04-09T08:00:29",
            "name": "[COMMITTED] testsuite: i386: Restrict gcc.target/i386/pr124759.c to Linux",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499250/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221309/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221309/checks/",
    "tags": {},
    "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=GdrzVGCT;\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 (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=GdrzVGCT",
            "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\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 4frsnc2xm7z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 18:01:06 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id ECB304BA2E27\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  9 Apr 2026 08:01:04 +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 A1E534BA2E09\n for <gcc-patches@gcc.gnu.org>; Thu,  9 Apr 2026 08:00:38 +0000 (GMT)",
            "from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1])\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 9E42EEFD8F;\n Thu,  9 Apr 2026 10:00:37 +0200 (CEST)",
            "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 gKOZ49yaL_ST; Thu,  9 Apr 2026 10:00:32 +0200 (CEST)",
            "from manam.CeBiTec.Uni-Bielefeld.DE (p4fddb7f4.dip0.t-ipconnect.de\n [79.221.183.244]) (Authenticated sender: ro)\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id F30E3EFE22;\n Thu,  9 Apr 2026 10:00:31 +0200 (CEST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org ECB304BA2E27",
            "OpenDKIM Filter v2.11.0 sourceware.org A1E534BA2E09"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org A1E534BA2E09",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org A1E534BA2E09",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775721638; cv=none;\n b=pQ/2md/cxO82pNlEpi3paScdA9ZyHyi/aU3XUngtcTXEg7bNhENRarcrKMkRnUNGSs0fjeMnU7D1/x8OR1Bew4coc3Npuk7pPKjuhsPfz2jDm2qPtS+6nFaFwAmqrS/pKoPsR9547HNhYzxqAJEIroY+EcGHuOPeppYKuio4HZs=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775721638; c=relaxed/simple;\n bh=IEnft+Q02gDkLOIstHN4EE2T7tQS/K1fea/z3ODZljo=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=dE6a4l8JBtcdOZbF/+WMMT5dmlHK6NEERZvbVaitIIiSS0Ldh1m9GzlWV6FEq9sV6R9n6r+e8jP4DoKvICFtH1oK055F02euEBAdccFhXIkck76ECJk7qvnYWApFwdHmC+ybpMEvTUgtxC8OS5SzrHrmwNsyBbC/mbv6CYZYF68=",
        "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=1775721632; bh=IEnft\n +Q02gDkLOIstHN4EE2T7tQS/K1fea/z3ODZljo=; b=GdrzVGCTtlGm9Y74hh4yr\n 2SoHR4eayCtEZ/DizUboRWzeQyDrjN4N8xB+XZ8Y8B+hTNSZtayL2C+FraRN6IJa\n +rnqZBxLR1fE8eFxFzIeFw/Xd2wpuYnNhnp36YJ6HV2KN0PckHMLoW/HFDynSCqy\n LgU7d9igfTwKFgu3wGRpkSRu1k8jmVxCcGwWCF5Je3BmHshEsri4PzNW+lL0r37h\n Peh4z7Vc+qdklrh5mq7gHK28yv4ZLrS8LRLQpDFh1qlJLDeYsBOdlvq+nsttTLYf\n 3FhIxIJ42b5EaFhw5+iQbeVe9FY1zZVu3a2K4E0Yrvlb9nBqAQAQOzXJtNTYi+LM\n w==",
        "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>, Uros Bizjak <ubizjak@gmail.com>",
        "Subject": "[COMMITTED] testsuite: i386: Restrict gcc.target/i386/pr124759.c to\n Linux",
        "Date": "Thu, 09 Apr 2026 10:00:29 +0200",
        "Message-ID": "<yddqzooo95u.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 new gcc.target/i386/pr124759.c test FAILs on Solaris/x86:\n\nFAIL: gcc.target/i386/pr124759.c (test for excess errors)\nUNRESOLVED: gcc.target/i386/pr124759.c compilation failed to produce executable\n\nWith the native assembler, there's\n\nAssembler: pr124759.c\n        \"/var/tmp//cc86OTka.s\", line 8 : Illegal mnemonic\n        Near line: \"    endbr32\"\n        \"/var/tmp//cc86OTka.s\", line 8 : Syntax error\n        Near line: \"    endbr32\"\n\nwhile even with gas there's also\n\nExcess errors:\ncc1: warning: '-fhardened' not supported for this target\n\nTherefore this patch restricts the test to Linux, matching\ngcc.target/i386/fhardened-1.c.\n\nTested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.\n\nCommitted to trunk.\n\n\tRainer",
    "diff": "diff --git a/gcc/testsuite/gcc.target/i386/pr124759.c b/gcc/testsuite/gcc.target/i386/pr124759.c\n--- a/gcc/testsuite/gcc.target/i386/pr124759.c\n+++ b/gcc/testsuite/gcc.target/i386/pr124759.c\n@@ -1,4 +1,4 @@\n-/* { dg-do run { target avx_runtime } } */\n+/* { dg-do run { target { avx_runtime && { *-*-linux* *-*-gnu* } } } } */\n /* { dg-options \"-fhardened -O3 -mavx\" } */\n \n struct a {\n",
    "prefixes": [
        "COMMITTED"
    ]
}