get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216234,
    "url": "http://patchwork.ozlabs.org/api/patches/2216234/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260326074635.1FA294A0A3@imap1.dmz-prg2.suse.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": "<20260326074635.1FA294A0A3@imap1.dmz-prg2.suse.org>",
    "list_archive_url": null,
    "date": "2026-03-26T07:46:34",
    "name": "middle-end/124634 - add internal function internals documentation section",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9615b2615fb9ee15aa8d91425b82ee44d84365fa",
    "submitter": {
        "id": 4338,
        "url": "http://patchwork.ozlabs.org/api/people/4338/?format=api",
        "name": "Richard Biener",
        "email": "rguenther@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260326074635.1FA294A0A3@imap1.dmz-prg2.suse.org/mbox/",
    "series": [
        {
            "id": 497543,
            "url": "http://patchwork.ozlabs.org/api/series/497543/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497543",
            "date": "2026-03-26T07:46:34",
            "name": "middle-end/124634 - add internal function internals documentation section",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497543/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216234/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216234/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 (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=xkiqrJqb;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=XgZY7+A8;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=xkiqrJqb;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=XgZY7+A8;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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 (1024-bit key,\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=xkiqrJqb;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=XgZY7+A8;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=xkiqrJqb;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=XgZY7+A8",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=suse.de",
            "sourceware.org; spf=pass smtp.mailfrom=suse.de",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=195.135.223.130",
            "smtp-out1.suse.de;\n dkim=pass header.d=suse.de header.s=susede2_rsa header.b=xkiqrJqb;\n dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=XgZY7+A8"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4fhG812d5yz1yGD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 18:47:13 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 0201E4BA23C2\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 07:47:11 +0000 (GMT)",
            "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n by sourceware.org (Postfix) with ESMTPS id 85E944BA2E11\n for <gcc-patches@gcc.gnu.org>; Thu, 26 Mar 2026 07:46:36 +0000 (GMT)",
            "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 4B4A54D263;\n Thu, 26 Mar 2026 07:46:35 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 1FA294A0A3;\n Thu, 26 Mar 2026 07:46:35 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id zLGfBVvkxGk4TwAAD6G6ig\n (envelope-from <rguenther@suse.de>); Thu, 26 Mar 2026 07:46:35 +0000"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 0201E4BA23C2",
            "OpenDKIM Filter v2.11.0 sourceware.org 85E944BA2E11"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 85E944BA2E11",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 85E944BA2E11",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774511196; cv=none;\n b=i8+YfCbx8UssEbH5IMegEKv1+861wDQ8puTf5x5A8fhKD3+1e1oUNecbTTwHHZmNKhFm8BC30qbwoDIVNsyY2pGCFooTCGcvqgDCIjejCwwjcPiCmEvKQsDpk7tRN2hB1UUQlIHy/El0IeoGipwvLXr2Oe5k7UaZ1fy4sQHfFNw=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774511196; c=relaxed/simple;\n bh=6x6eLxatiRmvORlrbLxUJZaV9MRQI/wvcg8uv7eOWIo=;\n h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date:\n From:To:Subject:MIME-Version:Message-Id;\n b=ajVEX4qYQ+Yr/vNwJ3pMo1odwFosv4iTGuxanSHTnZtwxYqFguHiaVhvt5m/btOXzax7R6k8aDphhh1oKqxeLqN8YWgIrOSW2CkDgXAeKuFpRAwON1Ko9piql9dJsVg24Z6cuP5vsmEHNpv+3K8dRhnrqtUm9qCek0/PnfGEzhM=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774511195;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=GeN5FfR3nGJcssLHsHgnbOCUeTQ9E/su0xiIqQZ2Hxk=;\n b=xkiqrJqb3AxKFkr4Nl1rVf39rMZhbo38D0i2BUebmsBkrIMHPXU2IVF6xK2QzSOVsOS0cD\n K7kJsp24lHC5TTYopVkLGNyTIVhFrD3Ikxq3L3uBfWHU+txbGiYx5RVfuOgu8lpHExELRK\n WO06Z0triffjpurvdOv62i/CIspOFtY=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774511195;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=GeN5FfR3nGJcssLHsHgnbOCUeTQ9E/su0xiIqQZ2Hxk=;\n b=XgZY7+A8m8NhCACsjDaOs/KW5GssuRbO0ReJjaeLDURGOMWj79K4HFPtKDwrqRKe+cNw77\n yMAe6vK2v5B2uvBA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774511195;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=GeN5FfR3nGJcssLHsHgnbOCUeTQ9E/su0xiIqQZ2Hxk=;\n b=xkiqrJqb3AxKFkr4Nl1rVf39rMZhbo38D0i2BUebmsBkrIMHPXU2IVF6xK2QzSOVsOS0cD\n K7kJsp24lHC5TTYopVkLGNyTIVhFrD3Ikxq3L3uBfWHU+txbGiYx5RVfuOgu8lpHExELRK\n WO06Z0triffjpurvdOv62i/CIspOFtY=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774511195;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=GeN5FfR3nGJcssLHsHgnbOCUeTQ9E/su0xiIqQZ2Hxk=;\n b=XgZY7+A8m8NhCACsjDaOs/KW5GssuRbO0ReJjaeLDURGOMWj79K4HFPtKDwrqRKe+cNw77\n yMAe6vK2v5B2uvBA=="
        ],
        "Date": "Thu, 26 Mar 2026 08:46:34 +0100 (CET)",
        "From": "Richard Biener <rguenther@suse.de>",
        "To": "gcc-patches@gcc.gnu.org",
        "cc": "sloosemore@baylibre.com, andrew.pinski@oss.qualcomm.com",
        "Subject": "[PATCH] middle-end/124634 - add internal function internals\n documentation section",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Message-Id": "<20260326074635.1FA294A0A3@imap1.dmz-prg2.suse.org>",
        "X-Spamd-Result": "default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[];\n MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RCVD_TLS_ALL(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:mid,imap1.dmz-prg2.suse.org:helo];\n RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n TO_DN_NONE(0.00)[];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from,2a07:de40:b281:106:10:150:64:167:received];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n DKIM_TRACE(0.00)[suse.de:+]",
        "X-Rspamd-Action": "no action",
        "X-Rspamd-Server": "rspamd1.dmz-prg2.suse.org",
        "X-Rspamd-Queue-Id": "4B4A54D263",
        "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 following adds a skeleton for documenting internal function details.\nWithout such a place it's quite difficult to tell people to document\nthings when they add new internal functions.  We might want to split\nthe table into two, separating direct internal functions from others.\n\nI've placed the contents after the GENERIC/GIMPLE chapters.\n\nAny comments?  I hope to expand it a bit before formally asking for OK.\n\nThanks,\nRichard.\n\n\tPR middle-end/124634\n\t* ifn.texi: New file.\n\t* gccint.texi: Include ifn.texi.\n---\n gcc/doc/gccint.texi |  1 +\n gcc/doc/ifn.texi    | 32 ++++++++++++++++++++++++++++++++\n 2 files changed, 33 insertions(+)\n create mode 100644 gcc/doc/ifn.texi",
    "diff": "diff --git a/gcc/doc/gccint.texi b/gcc/doc/gccint.texi\nindex 9d3b2f23428..be752db3cd4 100644\n--- a/gcc/doc/gccint.texi\n+++ b/gcc/doc/gccint.texi\n@@ -155,6 +155,7 @@ Additional tutorial information is linked to from\n @include poly-int.texi\n @include generic.texi\n @include gimple.texi\n+@include ifn.texi\n @include tree-ssa.texi\n @include rtl.texi\n @include cfg.texi\ndiff --git a/gcc/doc/ifn.texi b/gcc/doc/ifn.texi\nnew file mode 100644\nindex 00000000000..c8a44a08ed0\n--- /dev/null\n+++ b/gcc/doc/ifn.texi\n@@ -0,0 +1,32 @@\n+@c Copyright (C) 1988-2026 Free Software Foundation, Inc.\n+@c This is part of the GCC manual.\n+@c For copying conditions, see the file gcc.texi.\n+\n+@node Internal Functions\n+@chapter Internal Functions in GENERIC and GIMPLE\n+@cindex internal functions\n+@cindex @file{internal-fn.def}\n+\n+In addition to builtin functions specified in @file{builtins.def} and\n+friends the GENERIC and GIMPLE intermediate languages use calls with\n+pre-defined semantics that are inline expanded to RTL rather than to\n+calls.  Those functions are listed in @file{internal-fn.def}.\n+\n+@menu\n+* Internal Function API:: The internal function related API.\n+* Internal Functions::    Table of internal functions.\n+@end menu\n+\n+@node Internal Function API\n+@section The internal function related API\n+\n+@node Internal Functions\n+@section Table of internal functions\n+\n+@table @asis\n+@cindex @code{CRC} internal function\n+@item @samp{CRC}\n+The @code{CRC} internal function directly maps to the @code{crc@var{m}@var{n}4}\n+instruction pattern.\n+\n+@end table\n",
    "prefixes": []
}