get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217432,
    "url": "http://patchwork.ozlabs.org/api/patches/2217432/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/orcy0n9qu3.fsf@lxoliva.fsfla.org/",
    "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": "<orcy0n9qu3.fsf@lxoliva.fsfla.org>",
    "list_archive_url": null,
    "date": "2026-03-29T04:56:04",
    "name": "testsuite: x86: pr115863-1.c should include stdint.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "83c152b4eb54ce99f48c77ecf3a41884d2bdfe07",
    "submitter": {
        "id": 74937,
        "url": "http://patchwork.ozlabs.org/api/people/74937/?format=api",
        "name": "Alexandre Oliva",
        "email": "oliva@adacore.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/orcy0n9qu3.fsf@lxoliva.fsfla.org/mbox/",
    "series": [
        {
            "id": 497899,
            "url": "http://patchwork.ozlabs.org/api/series/497899/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497899",
            "date": "2026-03-29T04:56:04",
            "name": "testsuite: x86: pr115863-1.c should include stdint.h",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497899/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217432/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217432/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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=TAs4l/R0;\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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=TAs4l/R0",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=adacore.com",
            "sourceware.org; spf=pass smtp.mailfrom=adacore.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=74.125.82.174"
        ],
        "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 4fk2DP3V0Gz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 15:57:09 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6217E4BA9003\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 04:57:07 +0000 (GMT)",
            "from mail-dy1-f174.google.com (mail-dy1-f174.google.com\n [74.125.82.174])\n by sourceware.org (Postfix) with ESMTPS id 0D0934B9DB43\n for <gcc-patches@gcc.gnu.org>; Sun, 29 Mar 2026 04:56:15 +0000 (GMT)",
            "by mail-dy1-f174.google.com with SMTP id\n 5a478bee46e88-2c5b3d8eab1so68399eec.1\n for <gcc-patches@gcc.gnu.org>; Sat, 28 Mar 2026 21:56:15 -0700 (PDT)",
            "from free.home ([2804:14c:4d1:41a6::1455])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2c3c68b2721sm3515994eec.14.2026.03.28.21.56.13\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 28 Mar 2026 21:56:13 -0700 (PDT)",
            "from livre (livre.home [172.31.160.2])\n by free.home (8.15.2/8.15.2) with ESMTPS id 62T4u44Z016418\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Sun, 29 Mar 2026 01:56:04 -0300"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 6217E4BA9003",
            "OpenDKIM Filter v2.11.0 sourceware.org 0D0934B9DB43"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 0D0934B9DB43",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 0D0934B9DB43",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774760175; cv=none;\n b=fhi7L2DnGmwJpTi6ZYEsb5Um9oNstOjF9FbKe3tFSHlKNKEXw7RbCnqoQbL8k8y7wyNP8C4fyYDGaji0qh4jV0qHgJxDLb3XvydqSlerxa276+pN+sRa7JM24yh9eFRqSfdCieNZPhFcZ3z9n/OMcyZjHMR5BOXC6ZTR03ETcR8=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774760175; c=relaxed/simple;\n bh=ZqphsYIMe7EDlCh+rIkaise+PCzqBc8MUnFMs3/pn8Y=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=GX06aaqIejc+jmhNSSo2V19K5B3kueHQFdMwgSQ5Po+nkWcsD/CmbKT0Fut3m26rnhWghGRPlbOZfAp1LDhPglJGZWW5LzkbBgAEY8XrFwjcXPn8IcgbB0V1HqDrQuEDGF/8bnhBzplD9QGsintJiIA1Ma3gnNmve3GjGhyPTDk=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=adacore.com; s=google; t=1774760174; x=1775364974; darn=gcc.gnu.org;\n h=mime-version:user-agent:message-id:date:organization:subject:cc:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=VLWS+SRHq5qthvSgLwiUBIGk+tU5Tw9erbv9mvXCfZA=;\n b=TAs4l/R0LI7qf9YCBoIJ/vscfcoYvOi+yZje/FvoEomog7mLCBR2yW7bSlpnFalaYd\n S4LGAcmbLWQkvKXe2k09ejEHcQrZUW2UoNERmiQHj1OGnHpMftc58e+5+rNPSFRWZTjF\n v06fFekzktbyjpI6nu96L9PXmaenncV+e1qZfhajqteIgk0Id4tOMDpTJo2bI3BCLs0l\n qwMICONulY4p/XBr71OpIg1e7xQPGYrlw5aIZsyJLO8917fSMjpsLkgQVP9f/7CCajyi\n Bg4lblF0k9aQSo9BsqEwAfMxb7Xh/ugmn5XLeyj2m4fNeAVO/AmHu8Y1nZTtX7gBssi4\n 6Obw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774760174; x=1775364974;\n h=mime-version:user-agent:message-id:date:organization:subject:cc:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=VLWS+SRHq5qthvSgLwiUBIGk+tU5Tw9erbv9mvXCfZA=;\n b=p9U1SusH+T8xUzUp6YhUZPmsejpQehTIIpka257GuQFaLNMFQg4RzcPwjiaf3PTK1/\n YHRYXzMFiRKOE5oHXmTmok5HEGQUqjJwgHbnFRXJwwl/gCQmSEK5dfb1gaAYyGMgYvMF\n ElbyKEI1ORn6QuCkGTr+eGzcZLn8eLDMBVOHpoq6iw1MoTnoq8EK70bObJM4+xIoeEqm\n 7lKbtWhjAKYzMyicmSMDY0Sbg8Ihn7gipBOaaYWQ/PbGrlapkO8Tdw4HtGE+J7hOzcMI\n +vqi5lcNLppU+RlC/jqz33O2rRES7RU4yT8g93pW+yKzMD1C40AanHvA08IKqqBFjMjN\n PB1w==",
        "X-Gm-Message-State": "AOJu0Yy7TfiRHZQ7V4JSDaDODq4TEDWPbWsZaljcGfbhET2f7rO9Zx7k\n 5cQzjjtl1QAsLzPWxPE/nx0D3o3csIjuG7GWfloc6vPiTj/oc2mFWoQBX6tQPcH1NDixC6n+l2e\n 5g8M=",
        "X-Gm-Gg": "ATEYQzxOUYUI6yN2uPINuCabGvQOHNliWqq+nI3AB4dUsCATVDJXfWCROaFKrlTtDFT\n PFy70QopwIS8yM3zxIl3d/f9TidV9/0Gzd40p5OYCZdmSok4vti7kQWoopAYQ9HRbPkVjswz6yU\n 7fQvnno1cjaqwmXEogAv31BR8W44W61jIMm9GPJMwqoOGkkHM7X+T75I5QXq6JIeg0+l5b5hmll\n Sp0H/JzNRQRjITpZORH13p42qUoXiA4G3yb2f3brgXVKqDh6TXM60U5otMDUkyD5257njVL8mTK\n K1/JpD/WRtFvNK2l8dGv2/v0v4O5hIAbyAc7R1zNE4FpLF5xs2smtKRPOmay/95dREnzemmVl51\n GGHCHuu6NbCvVv6tDWbzohNzqcxPtZ+dZdAY67/WVRkBHwboMk31a+MAxDSVHrYz8JZu/hsXn5B\n kC8wyAO+U5hw==",
        "X-Received": "by 2002:a05:7300:7314:b0:2c1:71a8:3845 with SMTP id\n 5a478bee46e88-2c185e54d8bmr4517759eec.19.1774760173934;\n Sat, 28 Mar 2026 21:56:13 -0700 (PDT)",
        "From": "Alexandre Oliva <oliva@adacore.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, Mike Stump\n <mikestump@comcast.net>, Jan Hubicka <hubicka@ucw.cz>,\n Uros Bizjak <ubizjak@gmail.com>",
        "Subject": "[PATCH] testsuite: x86: pr115863-1.c should include stdint.h",
        "Organization": "Free thinker, does not speak for AdaCore",
        "Date": "Sun, 29 Mar 2026 01:56:04 -0300",
        "Message-ID": "<orcy0n9qu3.fsf@lxoliva.fsfla.org>",
        "User-Agent": "Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Scanned-By": "MIMEDefang 2.84",
        "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": "stdint-gcc.h isn't necessarily installed by GCC or available from C\nlibraries.  VxWorks ports don't generally have such a header\navailable.  Include stdint.h instead.\n\nRegstrapped on x86_64-linux-gnu.  Also tested with ppc-vx7r2,\nppc64-vx7r2, arm-vx7r2, aarch64-vx7r2, x86_64-vx7r2, and x86-vx7r2.  Ok\nto install?\n\n\nfor  gcc/testsuite/ChangeLog\n\n\t* gcc.target/i386/pr115863-1.c: Include stdint.h.\n---\n gcc/testsuite/gcc.target/i386/pr115863-1.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/testsuite/gcc.target/i386/pr115863-1.c b/gcc/testsuite/gcc.target/i386/pr115863-1.c\nindex a672f62cec546..d48cbf83aab60 100644\n--- a/gcc/testsuite/gcc.target/i386/pr115863-1.c\n+++ b/gcc/testsuite/gcc.target/i386/pr115863-1.c\n@@ -2,7 +2,7 @@\n /* { dg-do compile } */\n /* { dg-options \"-O3 -fdump-rtl-expand-details\" } */\n \n-#include <stdint-gcc.h>\n+#include <stdint.h>\n \n typedef struct z_stream_s {\n     uint32_t     avail_out;\n",
    "prefixes": []
}