get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224975,
    "url": "http://patchwork.ozlabs.org/api/patches/2224975/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/CAMe9rOpdNJqKsBCNoSbnatrmvJeW0oySprf=6NFU3K5eO3MoaA@mail.gmail.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": "<CAMe9rOpdNJqKsBCNoSbnatrmvJeW0oySprf=6NFU3K5eO3MoaA@mail.gmail.com>",
    "list_archive_url": null,
    "date": "2026-04-20T05:07:24",
    "name": "pr121649.c: Replace long with long long",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "89c0b146a4888b869edf226a97627b270a7c393e",
    "submitter": {
        "id": 4387,
        "url": "http://patchwork.ozlabs.org/api/people/4387/?format=api",
        "name": "H.J. Lu",
        "email": "hjl.tools@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/CAMe9rOpdNJqKsBCNoSbnatrmvJeW0oySprf=6NFU3K5eO3MoaA@mail.gmail.com/mbox/",
    "series": [
        {
            "id": 500553,
            "url": "http://patchwork.ozlabs.org/api/series/500553/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500553",
            "date": "2026-04-20T05:07:24",
            "name": "pr121649.c: Replace long with long long",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500553/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224975/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224975/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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=CaO+3ci3;\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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=CaO+3ci3",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=pass smtp.remote-ip=209.85.210.175"
        ],
        "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 4fzYRN677xz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 15:08:32 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id EED154BA2E25\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 05:08:30 +0000 (GMT)",
            "from mail-pf1-f175.google.com (mail-pf1-f175.google.com\n [209.85.210.175])\n by sourceware.org (Postfix) with ESMTPS id D3DD34BA2E29\n for <gcc-patches@gcc.gnu.org>; Mon, 20 Apr 2026 05:08:03 +0000 (GMT)",
            "by mail-pf1-f175.google.com with SMTP id\n d2e1a72fcca58-8296dabef74so2331927b3a.1\n for <gcc-patches@gcc.gnu.org>; Sun, 19 Apr 2026 22:08:03 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org EED154BA2E25",
            "OpenDKIM Filter v2.11.0 sourceware.org D3DD34BA2E29"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org D3DD34BA2E29",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org D3DD34BA2E29",
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776661684; cv=pass;\n b=YNpKsT9cJiY5yFrwLJt7Ha7mYNbN1yYIojbGqQzHLNZY/QDcRwIhHRxiy6Kco+rdr6NQG737xaLEiwEgRDMKTkTP7EhF4OgB3m0Ze68x5TnAdIGeEVhVk7zASapk7rZ3Rz3QJqTgtKFV5CsuzLnF0vNZAFOgAKPLbsp355d4/uM=",
            "i=1; a=rsa-sha256; t=1776661682; cv=none;\n d=google.com; s=arc-20240605;\n b=YMHYduku1PlI/6r4PiP4JcbOrasIy0TRfb91rojEC4C2qbVMkDChFqGdLRm7PxZZEK\n YT7qkcG6FTh4e0u/B+Pm5vav9ninni28oQfByrkZoMjP6/TOIWVnPUn5ceLZ+hYpIOQ5\n 1qDoTw/ROsUaF5xczIrwFhjpQq0r8aqxUXwSfyh/NJwmDif8ymFpfvPRtIxHUcgrBURN\n bNIXwj2UXXCdzP5xtsRNBytJG5QdBFnEzuif+JkA9jACZ98yqFq/T+022c5JwRUcztzq\n 627+CTH8x5xRTH1KWtd9n4tToiRIPEf0aPZGTJVZX/qzVxcA7BDlC9y5di73dTMV0ivU\n l4lA=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776661684; c=relaxed/simple;\n bh=p4Zz87lC46S1+7Maiqj1en8l0eXCVehaU7Q0IHZa3V8=;\n h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;\n b=xom+MsT6KPI5ljKNhX7nftv9JCMTsijhHUgznS8hHaXmufIPdO5mFoDyR5OKNYUGSscqeb6+9WYaqKIQ0nwV5b5pdeuyatc4mF+R6aPnfc93tRugitfb8LGPnL3AYPMcQ6+jpMVv+IAXrYChYs3f6z5jpsWBUh7nryOYehOpCd4=",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=to:subject:message-id:date:from:mime-version:dkim-signature;\n bh=EJvVaqVTO63F8xTaSNsNrwk7mLF8y3V98Z5tiQXNZ1o=;\n fh=1x68BvzO2kWWWta8/g3HiRqxdIwTfuC9npd91EMSd9k=;\n b=DfYxy2qWNoDV32PuC/TX8BAVGPH2maGOf+ysJMpA9hJoN4wfc7OQiaXlExhXk97UtO\n 87pj2Aehq8nu/IiRy7IInx1QAsn4SGkerZz+sF26+of9+NNhgDkQNdpeJmDL7+3CiDk8\n LjvrCojF27chSG3NmB/OzZVMUyoXugumUhqz1yOhpCSI0zAsv8WsmQ5U34vX53nYhBO1\n Ab8oP7q7RKx6qVZBX2On/FmhGMUveu7XBRO5RJ8nmWy7LsXaS9LUaqlRk3eMEQgVkCZY\n 7+810p1+780MWu3L4VANZjGfOdMqdBRWcgRe5kVSjZlcw+AVYU6KvZ3kHE8gtQYBsf4Q\n vAOw==; darn=gcc.gnu.org"
        ],
        "ARC-Authentication-Results": [
            "i=2; server2.sourceware.org",
            "i=1; mx.google.com; arc=none"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776661682; x=1777266482; darn=gcc.gnu.org;\n h=to:subject:message-id:date:from:mime-version:from:to:cc:subject\n :date:message-id:reply-to;\n bh=EJvVaqVTO63F8xTaSNsNrwk7mLF8y3V98Z5tiQXNZ1o=;\n b=CaO+3ci3TiKMqrfaW0QMSw82XTn1AIDInr2NeHXil6+UNBx6xlsOvyjYuMCvgdi6JQ\n 6uwWbiOLqiaadKA923C+Lou0PCnnjPqqwOCs102X+Bj5dlMrqvwjaem0ow9YQCyyNuSl\n MeI87eKoC8MttK8TV3YZW1UXXt6H/NV+hKVGx10+47sItz/XlnPdxWUWTRsGPNYb1DrZ\n eJ9t1Dp66UMlB0CFuHgwWcgzgxgvqrDi7mxpnKhGjRFgzfPAI1TFlFNdk0IENB1xVmSq\n RPnbh/r6HfgUuNUtvFaqcUPITcUXoapBODX/sRiL841lIDb/MzwVJQ8jZAd+9J9KW5Vs\n TAWA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776661682; x=1777266482;\n h=to:subject:message-id:date:from:mime-version:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=EJvVaqVTO63F8xTaSNsNrwk7mLF8y3V98Z5tiQXNZ1o=;\n b=LulU76k2zcUpQc1rP58QSj+YmnBqyM9b6NvxBhmw8LWBVbYgf+yZKvV+9Ex/0xrIUv\n AAPUERf1yQBUXu+iqMZ3Y3GHCK9nijTYATV7s/W9dnX/RFvhZXxC8BAh0gAnN4v0/7/w\n LN6P5kO+zS0RrqfGMJwcwDbmg6UTkLWrLF79ZPHu54d4/tDmgHNwEFgshShh5hBDVp0P\n tUqkzwvbps9cgPN/dAYzWq4MjSQRcqiGnkSnQ7uoKqqokcqaj0JmQN28yG+e/lZdcGTA\n Tcl9nxuArVQX1QOR2n8kQxFS3UCSM6XmZmVEcT7DBCkfNzS1UQFz+t4DmeieqCtvRkPB\n 9Gxg==",
        "X-Gm-Message-State": "AOJu0YyPPt0B+gZjg2F6KCDuQQ5zlSlERHo4sVAtg3//2iqu4rNWbFkh\n 10In3+Kwg5T+lFp5+bwtBtL7/EkQHpZMXUXdNitDZpvcnHE1PLkobD7yP1DCtWfVB0KeCPT8c0i\n mt6/lvF0kohX4gvzYH273oIl72vy0Sgevj53WRMMs8g==",
        "X-Gm-Gg": "AeBDieu32CPzniCqksVs3QQYIQYussgSe1k7TiDBcwTtvtHL902WKMuq+6g2/ic1g3N\n V6q7RkCG0bvfbGNdbmzfj55xoVTSNajmQ5s9AC0QwMRmgH2lb9ZMY/KlIxJkaIpnU+jVxlA/UM0\n DJKKZ9fuXOHmxU5+vWeypyGiKu/A9T9S7q4Cb9GQ+iORLSLUqnl8uVR0RsXZb0fgd6uBXIzDrB1\n Ht5eWwYkfKhXevD9/yd4pGFV98rCVir8drGskwaoFbjOIB64Q1vYth5as4bV4hlqnXDB29D5ccu\n UcL9cGFpR7tuEeRSGqI=",
        "X-Received": "by 2002:a05:6a00:3e16:b0:82f:5571:1a8d with SMTP id\n d2e1a72fcca58-82f8c8308e0mr12347340b3a.2.1776661682400; Sun, 19 Apr 2026\n 22:08:02 -0700 (PDT)",
        "MIME-Version": "1.0",
        "From": "\"H.J. Lu\" <hjl.tools@gmail.com>",
        "Date": "Mon, 20 Apr 2026 13:07:24 +0800",
        "X-Gm-Features": "AQROBzDbisdROpg1b7eR2MIMeBwjH8R6e1L5yYB_SW-ZAZ5LrL9BdbyasTuSd5k",
        "Message-ID": "\n <CAMe9rOpdNJqKsBCNoSbnatrmvJeW0oySprf=6NFU3K5eO3MoaA@mail.gmail.com>",
        "Subject": "[PATCH] pr121649.c: Replace long with long long",
        "To": "GCC Patches <gcc-patches@gcc.gnu.org>, rdapp@oss.qualcomm.com,\n Andrew Pinski <pinskia@gmail.com>",
        "Content-Type": "multipart/mixed; boundary=\"000000000000776348064fdd488f\"",
        "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": "pr121649.c is a test enabled for int128 targets.  It assumes that long\nis 64-bit, which isn't true for all int128 targets.  Replace long with\nlong long for 64-bit integer.\n\nPR testsuite/124939\n* gcc.dg/torture/pr121649.c: Replace long with long long.",
    "diff": "From 73af97505c0a5b85b460ff39c72a605998355aff Mon Sep 17 00:00:00 2001\nFrom: \"H.J. Lu\" <hjl.tools@gmail.com>\nDate: Mon, 20 Apr 2026 13:02:10 +0800\nSubject: [PATCH] pr121649.c: Replace long with long long\n\npr121649.c is a test enabled for int128 targets.  It assumes that long\nis 64-bit, which isn't true for all int128 targets.  Replace long with\nlong long for 64-bit integer.\n\n\tPR testsuite/124939\n\t* gcc.dg/torture/pr121649.c: Replace long with long long.\n\nSigned-off-by: H.J. Lu <hjl.tools@gmail.com>\n---\n gcc/testsuite/gcc.dg/torture/pr121649.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)\n\ndiff --git a/gcc/testsuite/gcc.dg/torture/pr121649.c b/gcc/testsuite/gcc.dg/torture/pr121649.c\nindex 0c04130cab0..9034ae47238 100644\n--- a/gcc/testsuite/gcc.dg/torture/pr121649.c\n+++ b/gcc/testsuite/gcc.dg/torture/pr121649.c\n@@ -8,16 +8,16 @@ typedef __attribute__((__vector_size__ (8))) int v64s32;\n typedef __attribute__((__vector_size__ (16))) char v128s8;\n typedef __attribute__((__vector_size__ (16))) short v128s16;\n typedef __attribute__((__vector_size__ (16))) int v128s32;\n-typedef __attribute__((__vector_size__ (16))) long v128s64;\n+typedef __attribute__((__vector_size__ (16))) long long v128s64;\n typedef __attribute__((__vector_size__ (32))) char v256s8;\n typedef __attribute__((__vector_size__ (32))) short v256s16;\n typedef __attribute__((__vector_size__ (32))) int v256s32;\n-typedef __attribute__((__vector_size__ (32))) long v256s64;\n+typedef __attribute__((__vector_size__ (32))) long long v256s64;\n typedef __attribute__((__vector_size__ (32))) __int128 v256s128;\n typedef __attribute__((__vector_size__ (64))) char v512s8;\n typedef __attribute__((__vector_size__ (64))) short v512s16;\n typedef __attribute__((__vector_size__ (64))) int v512s32;\n-typedef __attribute__((__vector_size__ (64))) long v512s64;\n+typedef __attribute__((__vector_size__ (64))) long long v512s64;\n typedef __attribute__((__vector_size__ (64))) __int128 v512s128;\n \n #if __BITINT_MAXWIDTH__ >= 60692\n@@ -30,8 +30,8 @@ foo0 (int, int, int, int,\n       _BitInt (5), _BitInt (5), short, short, char,\n       short, short, char, int,\n       int, int, int, int, char,\n-      long, long, long, long, long,\n-      long, char, char, char, __int128,\n+      long long, long long, long long, long long, long long,\n+      long long, char, char, char, __int128,\n       __int128, __int128, __int128, __int128,\n       __int128, char, _BitInt (129), _BitInt (129),\n       _BitInt (255), _BitInt (255), _BitInt (256), _BitInt (256),\n@@ -42,8 +42,8 @@ foo0 (int, int, int, int,\n       _BitInt (331), _BitInt (412), _BitInt (412), _BitInt (985),\n       _BitInt (985), _BitInt (60692), _BitInt (60692), char, char,\n       char, char, short, short, char, char, short, short, unsigned,\n-      int, v64s8, v64s8, v64s16, v64s16, v64s32, v64s32, long, long,\n-      v128s8, v128s8, short, v128s16, int, v128s32, long, v128s64,\n+      int, v64s8, v64s8, v64s16, v64s16, v64s32, v64s32, long long, long long,\n+      v128s8, v128s8, short, v128s16, int, v128s32, long long, v128s64,\n       __int128, __int128, v256s8, v256s8, v256s16, v256s16, v256s32,\n       v256s32, v256s64, v256s64, v256s128, v256s128, v512s8, v512s8,\n       v512s16, v512s16, v512s32, v512s32, v512s64, v512s64,\n-- \n2.53.0\n\n",
    "prefixes": []
}