get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194172,
    "url": "http://patchwork.ozlabs.org/api/patches/2194172/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260206234634.12092-1-jemarch@gnu.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": "<20260206234634.12092-1-jemarch@gnu.org>",
    "list_archive_url": null,
    "date": "2026-02-06T23:46:34",
    "name": "[COMMITTED] a68: fix lowering of unicode characters in denotations",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6281cb6c13727a6930656553f70aa1365c9b568a",
    "submitter": {
        "id": 53513,
        "url": "http://patchwork.ozlabs.org/api/people/53513/?format=api",
        "name": "Jose E. Marchesi",
        "email": "jemarch@gnu.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260206234634.12092-1-jemarch@gnu.org/mbox/",
    "series": [
        {
            "id": 491350,
            "url": "http://patchwork.ozlabs.org/api/series/491350/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491350",
            "date": "2026-02-06T23:46:34",
            "name": "[COMMITTED] a68: fix lowering of unicode characters in denotations",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491350/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194172/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194172/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=gnu.org header.i=@gnu.org header.a=rsa-sha256\n header.s=fencepost-gnu-org header.b=QMsVjNUU;\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 dmarc=pass (p=none dis=none) header.from=gnu.org",
            "sourceware.org; spf=pass smtp.mailfrom=gnu.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.51.188.92",
            "sourceware.org; dkim=pass (2048-bit key,\n unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256\n header.s=fencepost-gnu-org header.b=QMsVjNUU"
        ],
        "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 4f79ld1d2jz1xvW\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 10:48:45 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id BF2374BAD155\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  6 Feb 2026 23:48:41 +0000 (GMT)",
            "from eggs.gnu.org (eggs.gnu.org [209.51.188.92])\n by sourceware.org (Postfix) with ESMTPS id CB9D94B9DB72;\n Fri,  6 Feb 2026 23:48:32 +0000 (GMT)",
            "from fencepost.gnu.org ([2001:470:142:3::e])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <jemarch@gnu.org>)\n id 1voVYu-0006Fr-C1; Fri, 06 Feb 2026 18:48:32 -0500"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org CB9D94B9DB72",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org CB9D94B9DB72",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770421713; cv=none;\n b=bPSOduLuYmGU6PI7zJ05lKZrsZ0apMcSmfngUjuqwJgNjSgWB7KO45k0pH/4d8MFLiUH99yjLXk3vS3amtq0mL5qbjEzzEcHyb+Sf/px5jd7CFFsDhkue9UHioK+cuwWc3RU/4596tiKHAw+yHVuNN2eJzQYJFsdBhpTR5IFgD8=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770421713; c=relaxed/simple;\n bh=eRzzdV1C+FyunT4xuW2ZYUNXQOssvYFfPVZSPPhqePQ=;\n h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version;\n b=haHlTtr7ikshd9Cc/vFSQ5QcDGPeD+pLrkvrBIYH76CRDMBHaTIU8EVXNsa0cTUMTXkKDI10Jx2x83666GpsUEvsQZuCqNXXwN5za7nq48VIoKu3bqbi7x/5Sj4QHYE+SZ8a5bQu5Ql+hRXUBbFJdSJcgTUCZqM+FioQBaXu+e8=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 sourceware.org CB9D94B9DB72",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;\n s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:\n references; bh=YAwycHZ0xVyd1D5Z9cAwx30ER7VvZ4Gd4rH0ryxBHJA=; b=QMsVjNUU72KQRM\n iy1ZjJDf299xaOcDbvMcK5VW4evM9/kutSpYSDwM73nXJStw1+b39Iy6Sffi1i3NMysQmKziVK34h\n 80S3wkMIIoMvkeakXjTC83C56zsHGzqHqNNy4S5clLLH9G8VW5FdiXcU7XTr9Ar3NXKm+QaK8I59/\n wqcD74/CVruwWkI6dTygkCgZ2XZvmZFPzhzHAPcV6FV6lxfkpXDZhd26FcPQ3FxqeOY0wnPSNSfN7\n J/GIfS00+XMvwiL0gqWjYRT3OezpTwgkw6zL3kRj5Z0MiRnnSdvXhcPCPAVo2X14kFJUSeU2AKUjh\n kEWYgTvRj0yDWJB2RR7g==;",
        "From": "\"Jose E. Marchesi\" <jemarch@gnu.org>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "algol68@gcc.gnu.org",
        "Subject": "[COMMITTED] a68: fix lowering of unicode characters in denotations",
        "Date": "Sat,  7 Feb 2026 00:46:34 +0100",
        "Message-Id": "<20260206234634.12092-1-jemarch@gnu.org>",
        "X-Mailer": "git-send-email 2.39.5",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>\n\ngcc/algol68/ChangeLog\n\n\t* a68-low-units.cc (a68_lower_denotation): Fix call to\n\ta68_u8_mbtouc.\n---\n gcc/algol68/a68-low-units.cc | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/gcc/algol68/a68-low-units.cc b/gcc/algol68/a68-low-units.cc\nindex 5aa0c97dad3..c5ae0d47328 100644\n--- a/gcc/algol68/a68-low-units.cc\n+++ b/gcc/algol68/a68-low-units.cc\n@@ -224,9 +224,10 @@ a68_lower_denotation (NODE_T *p, LOW_CTX_T ctx)\n   else if (moid == M_CHAR)\n     {\n       char *s = a68_string_process_breaks (p, NSYMBOL (p));\n+      int num_units = strlen (s);\n       uint32_t ucs;\n-      int length = a68_u8_mbtouc (&ucs, (const uint8_t *) s, 1);\n-      gcc_assert (length == 1);\n+      int length = a68_u8_mbtouc (&ucs, (const uint8_t *) s, num_units);\n+      gcc_assert (length == num_units);\n       free (s);\n       return build_int_cst (a68_char_type, ucs);\n     }\n",
    "prefixes": [
        "COMMITTED"
    ]
}