get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216629,
    "url": "http://patchwork.ozlabs.org/api/patches/2216629/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/or5x6iaw14.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": "<or5x6iaw14.fsf@lxoliva.fsfla.org>",
    "list_archive_url": null,
    "date": "2026-03-27T01:41:43",
    "name": "testsuite: aarch64: avoid stdint-gcc.h in crc-builtin-pmul64.c",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b58b137253cbd41d9678e9f02f5293aa6931b80a",
    "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/or5x6iaw14.fsf@lxoliva.fsfla.org/mbox/",
    "series": [
        {
            "id": 497673,
            "url": "http://patchwork.ozlabs.org/api/series/497673/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497673",
            "date": "2026-03-27T01:41:43",
            "name": "testsuite: aarch64: avoid stdint-gcc.h in crc-builtin-pmul64.c",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497673/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216629/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216629/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=O6G3uheB;\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=O6G3uheB",
            "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.182"
        ],
        "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 4fhk0g1M8fz1yFp\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 12:42:27 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 0BBF74BAD17A\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 01:42:25 +0000 (GMT)",
            "from mail-dy1-f182.google.com (mail-dy1-f182.google.com\n [74.125.82.182])\n by sourceware.org (Postfix) with ESMTPS id 9E4AC4BA2E0A\n for <gcc-patches@gcc.gnu.org>; Fri, 27 Mar 2026 01:41:56 +0000 (GMT)",
            "by mail-dy1-f182.google.com with SMTP id\n 5a478bee46e88-2c17446ba8dso872398eec.1\n for <gcc-patches@gcc.gnu.org>; Thu, 26 Mar 2026 18:41:56 -0700 (PDT)",
            "from free.home ([2804:14c:4d1:41a6::1455])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2c16ec26550sm3914310eec.1.2026.03.26.18.41.54\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 26 Mar 2026 18:41:54 -0700 (PDT)",
            "from livre (livre.home [172.31.160.2])\n by free.home (8.15.2/8.15.2) with ESMTPS id 62R1fhLM019505\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Thu, 26 Mar 2026 22:41:43 -0300"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 0BBF74BAD17A",
            "OpenDKIM Filter v2.11.0 sourceware.org 9E4AC4BA2E0A"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 9E4AC4BA2E0A",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 9E4AC4BA2E0A",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774575716; cv=none;\n b=kkByA5BYUvUlqxBJmqzXQDN6pMWS7tQDe9+JB4GoCrUxrW9WF3WUKWLI3NbAYAsSSIgX3mO8fGGazG7zMb6u61347gQPJuP+/jVl8IKj4C7uFUW0mmVHbmr1lZOtBJuWhGfedlrDT9CWhn9lG8XAwtTozgEiPYf6lwiEQL34Edg=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774575716; c=relaxed/simple;\n bh=/4AbBQT+rqGJovSknoQgYRlykQCT3PEYixSlqT54VJA=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=v/ATQB1A7yEcQhPso/hNoUSUuZK4vCSRb3DMOuiT8P5T1Iy4gt6s1y/b0yu9xh+XDaIxqlPH5ujST1ewifZPDgJn2UoKi023MijdUOmXi/HVsM+ltJdUb4SWbhupQWPF6Jv6b2/lJBG4tco13HqVX6/BLUmy4hNmRkvk0ywSLkE=",
        "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=1774575716; x=1775180516; 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=wPPluM5Jw15OsMnOtMpFKjIJSoyckTQzq3h2qFpkXqs=;\n b=O6G3uheByF8DSwWFI2o7JeqSbypYNNUOdw6B/xRAueyYTWIQ8NW+JhUAyvrYw3K8we\n F38nlhCgn2uevIIHgPSvyXO3B5gLtN++VvQqFitSiv8qDd5z6PmD9GTbMexYk6JGwnVi\n qU401lo3PSEhUgGLOBEAdLjSZ5lLKgFjwNsxZvsDxiPTgGHGkwp2XB2fCZdx1l/gmr0o\n P8pUCGKZRtsEdoIGVbeTO6ps22xpqS4pPSYp6dyVk49BYLOIlppL7uXsBQ2e6NaWq131\n LOFdh1Myr2YaQ+nMOz3vKgIqXO/PuAriWoBHnTsGKJ0Q3lPCsqbunC5LywNtXlWvoGxL\n wJqA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774575716; x=1775180516;\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=wPPluM5Jw15OsMnOtMpFKjIJSoyckTQzq3h2qFpkXqs=;\n b=KMgIl51YP3JE9ZMo+PzKIHWAdX+mHL9eAEPH4MkbaCTwiZ5XJRnnk3SLNg3vN3g77t\n imb9nUfe9ejVEQC8oyR94Pa8AvFlJaiDqsU9nkhGD9yQjrMm5KCY/15mkqu2b6SDf4Yh\n kwyc734bXzOVZx6wTdQIW+M652Cg7Qfu5poPrryTDKhgcvg+NXxTz3edSZzu2hVMM0rV\n 1KySy9O2yqaawOheYhWcZPCsgjpFqukwWe5xtVp06fylKpAD0Mj8loa6GXXqCuVr1rYj\n GytcVI2U8KQz3cAZ1lue+9Oku0W7ruW8fAK4SWtU39cZa+qP3r0eQX7zWn+W8tSZtaC3\n fzSw==",
        "X-Gm-Message-State": "AOJu0YyfX133le468Y7dqBR+uCSTN3/sd1Tncs/A57CzQgOS8M/XM14o\n DBKA4r0JIWUH9zw2enQI70pqBvP096icfLJDHe9bflTeLNIGPeW/uAn20rJSzXffas7sG9NZKLt\n ohDo=",
        "X-Gm-Gg": "ATEYQzztcL9oIV8h5oVBARjwN4ucCD/8XNv5728VpsdUX8mZSlwa9xPOy/9eXjnSddB\n TiVDpvR6O2N9NL0qZ3oo1k+8SQzbbuuQlw++8VL7POlrhW2oeOCej6eZW28dyBCgJGLKOJZK7Po\n ioE02kh1F8nQ1wdQDmgYlQdJ0InDZKVKS5DkLm1HJ8sDfEGnp/0ZUQzxPgXn6di5+1x9gYkizKG\n BDHLXdhfCgPY3eCx2NbwYGZ0JJVHmjMEoyDssuJkuTAybZexdnmvj0UUnKz/linDwJCafnWthgG\n YpavHFfBHXOPxpA0/zvdwVS8mdjIx9UWRVP5vTO3Lid+Xkb+VdcoPkIrq9DUk1OFNY/Lxs9oZQO\n 7e00TTSfW5u7v5v9n5fpuXcoV79akZOV3bLgpovCXxm8nNHlgvOyfC64On3L8kiPbh9OZ4H2CRR\n U=",
        "X-Received": "by 2002:a05:7300:6c24:b0:2be:1a8e:10bb with SMTP id\n 5a478bee46e88-2c186eb545amr239369eec.12.1774575715252;\n Thu, 26 Mar 2026 18:41:55 -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>, Richard Earnshaw <richard.earnshaw@arm.com>,\n Tamar Christina <tamar.christina@arm.com>,\n Kyrylo Tkachov <ktkachov@nvidia.com>,\n Alice Carlotti <alice.carlotti@arm.com>, Alex Coplan <alex.coplan@arm.com>,\n Andrew Pinski <andrew.pinski@oss.qualcomm.com>,\n Wilco Dijkstra <wilco.dijkstra@arm.com>",
        "Subject": "[PATCH] testsuite: aarch64: avoid stdint-gcc.h in\n crc-builtin-pmul64.c",
        "Organization": "Free thinker, does not speak for AdaCore",
        "Date": "Thu, 26 Mar 2026 22:41:43 -0300",
        "Message-ID": "<or5x6iaw14.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": "Though gcc most often installs a stdint-gcc.h, that's not necessarily\nthe case, and it isn't the case for sure when targeting vxworks.\n\nThe file history doesn't justify the oddity, so I'm assuming it was a\nmistake.\n\nRegstrapped on x86_64-linux-gnu.  Also tested with ppc-vx7r2,\nppc64-vx7r2, arm-vx7r2, and aarch64-vx7r2.  Ok to install?\n\n\nfor  gcc/testsuite/ChangeLog\n\n\t* gcc.target/aarch64/crc-builtin-pmul64.c: Include stdint.h.\n---\n .../gcc.target/aarch64/crc-builtin-pmul64.c        |    4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c b/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c\nindex d8bb1724a65cc..cf2fa5069818c 100644\n--- a/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c\n+++ b/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c\n@@ -1,6 +1,6 @@\n /* { dg-options \"-march=armv8-a+crypto\" } */\n \n-#include <stdint-gcc.h>\n+#include <stdint.h>\n int8_t crc8_data8 ()\n {\n   return __builtin_crc8_data8 ('a', 0xff, 0x12);\n@@ -58,4 +58,4 @@ int32_t rev_crc32_data32 ()\n {\n   return __builtin_rev_crc32_data32 (0xffffffff, 0x123546ff, 0x4002123);\n } \n-/* { dg-final { scan-assembler-times \"pmull\" 24 } } */\n\\ No newline at end of file\n+/* { dg-final { scan-assembler-times \"pmull\" 24 } } */\n",
    "prefixes": []
}