get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224629,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224629/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260417172757.1015259-2-torbjorn.svensson@foss.st.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260417172757.1015259-2-torbjorn.svensson@foss.st.com>",
    "list_archive_url": null,
    "date": "2026-04-17T17:27:54",
    "name": "[12/30] Change `class bounded_ranges` to `struct bounded_ranges` to align tags",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "861c988a06cfe5ed5a3caa153810a42529351242",
    "submitter": {
        "id": 84848,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/84848/?format=api",
        "name": "Torbjörn SVENSSON",
        "email": "torbjorn.svensson@foss.st.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260417172757.1015259-2-torbjorn.svensson@foss.st.com/mbox/",
    "series": [
        {
            "id": 500377,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/500377/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500377",
            "date": "2026-04-17T17:25:07",
            "name": "Align struct/class forward declaration with implementation",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500377/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224629/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224629/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=foss.st.com header.i=@foss.st.com header.a=rsa-sha256\n header.s=selector2 header.b=AwYSfBw0;\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=foss.st.com header.i=@foss.st.com header.a=rsa-sha256\n header.s=selector2 header.b=AwYSfBw0",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=foss.st.com",
            "sourceware.org; spf=pass smtp.mailfrom=foss.st.com",
            "server2.sourceware.org;\n arc=pass smtp.remote-ip=52.101.70.69"
        ],
        "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 4fy2722DYzz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Apr 2026 03:34:05 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 23C5B4CCCA3A\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 17:34:03 +0000 (GMT)",
            "from AS8PR04CU009.outbound.protection.outlook.com\n (mail-westeuropeazon11011069.outbound.protection.outlook.com [52.101.70.69])\n by sourceware.org (Postfix) with ESMTPS id 8D7814D8D1E8\n for <gcc-patches@gcc.gnu.org>; Fri, 17 Apr 2026 17:28:17 +0000 (GMT)",
            "from DUZPR01CA0007.eurprd01.prod.exchangelabs.com\n (2603:10a6:10:3c3::11) by DU0PR10MB7335.EURPRD10.PROD.OUTLOOK.COM\n (2603:10a6:10:445::7) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9818.25; Fri, 17 Apr\n 2026 17:28:13 +0000",
            "from DB1PEPF000509FF.eurprd03.prod.outlook.com\n (2603:10a6:10:3c3:cafe::bc) by DUZPR01CA0007.outlook.office365.com\n (2603:10a6:10:3c3::11) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.52 via Frontend Transport; Fri,\n 17 Apr 2026 17:28:13 +0000",
            "from smtpO365.st.com (164.130.1.60) by\n DB1PEPF000509FF.mail.protection.outlook.com (10.167.242.41) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9769.17 via Frontend Transport; Fri, 17 Apr 2026 17:28:12 +0000",
            "from STKDAG1NODE2.st.com (10.75.128.133) by smtpO365.st.com\n (10.250.44.72) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 17 Apr\n 2026 19:31:02 +0200",
            "from jkgcxl0012.jkg.st.com (10.74.22.122) by STKDAG1NODE2.st.com\n (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 17 Apr\n 2026 19:28:11 +0200"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 23C5B4CCCA3A",
            "OpenDKIM Filter v2.11.0 sourceware.org 8D7814D8D1E8"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 8D7814D8D1E8",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 8D7814D8D1E8",
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776446897; cv=pass;\n b=qjkuTtBsvaiQPBEbDN865nMDUyG+bdjkF1k5z/bShFXnuqgmtvOMxjYVwatYLEfQe+ENJ32iy8Uk0naHstTlUpS6+iB8yXOlPPzOIBuuGP9oLnd9GtTD4GF4fHh8iAcJbnLtb40/qHwNai/vV/T3d3Q0XtF6SiWQ2AdXRMaYej4=",
            "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=vk1v1UUjRoqwfVn0oBuEBBVU0ZAzaTB36tavII5SrSeag4WpzXLeuIKc5VfXgE8oqlgIQ0BR1pySkLUJ6a22xaY9ijKM0OSFRFqJXaBKzeBZkCCgMdJbWUhezYXBnv8nS+4dxOm9zkTe1Q3EMYiw/ztMN+HINNN7uaWltkMMhKQ5YRpJFX6uSYvXh69ekN9bNc1uq5lne6jhLCTNX0AA17dtu2JJ4lcrPOEW4xtb+DeDRC+TlwU86SH47L2CHHWU/dG6BL1IzJE8k8RulPycCXchNm8P25mgfJXUhsxCUmzoFH4ZXLtq4U6ZOS+aaF58t5Dyr8pcA9UGST5FM6B7ug=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776446897; c=relaxed/simple;\n bh=1+FtpaW6xEQ0ka8FoiEM/om/T3gJ2DhVc4U/yaN50bI=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=F58Pd7zJx5wKEPeCyoUjdesrhujKPst5SYTZRgcuE9za+JOygJ4SGdL/CuDHvd+NNplY8AOy0PwBo1zRDcvISLRaY0EpDiD9j5syzOmd2moAB5W/cNJUN26g3g8ul9Npk2T4quax2U/48fe4TLeyoH8fhMyH756BhHz3s4xuqwk=",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=66xtP4T+fXgl8cv/Pwh3laS5uxfcKs6C4qiN2Ai7T3w=;\n b=RqJoqatuZesYmUrwcVAEN25otxQVbNDgqmGqIm4QeA5k3nSLBMlUXWWRM2tebl4BIcgt6jd5a6FwUhJBaBVT+Q3m7RD21UIyBbaai2/aC+i822pFvZSbkz1nV1OKkemSVmDokSIw/GUnDXpeUrJVlxIxDG6W7P+6TRsSCh7gX/N0xw4wTYdTawBh//c6/ZfTWTCYZkJMP5pxwelDzmJW9ePuScfu4EGpMdx9dPkk8z+hopvzHCNV3AkroCvtmn3j6LbL2wzK20Bfb1VBl44MocT0nTJuottWMqui0mMX2pOqKJZViQhtesF8Z1L+msneyjcSY+Y1CeU7r006P9vfEg=="
        ],
        "ARC-Authentication-Results": [
            "i=2; server2.sourceware.org",
            "i=1; mx.microsoft.com 1; spf=fail (sender ip is\n 164.130.1.60) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=foss.st.com;\n dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com;\n dkim=none (message not signed); arc=none (0)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=66xtP4T+fXgl8cv/Pwh3laS5uxfcKs6C4qiN2Ai7T3w=;\n b=AwYSfBw09fSk6E00srZu9PeJt84x/Z013C6zRGQv0sg2AIxHTfiCaDIQFS+uIeCSO6uy9WBXg+279mwPtj6+vw30ZAkgpGToeG3quIQkuRL35r4jKQ6wKAN3scEM9ar2SZQIt97yKF4APfLr0SQ7Yk8IR2yLoDRuccbnh/qhLt6h0KNv2AOypcmj4A5FIWaJf0p2HwPPJ+qRqzBSjeOQw+kh3fM7a0B2KSpcuOjfzDNXiRw1PYqxKohM2Umm3Xjgcin2cUYjRiIjO3xVCsqskAJ4J1gNfdJukETdpzwkosZQ/u4YgYvYbo/G4iC8dd2ce/ZfJ4LDUnzPs9KD16mD2A==",
        "X-MS-Exchange-Authentication-Results": "spf=fail (sender IP is 164.130.1.60)\n smtp.mailfrom=foss.st.com; dkim=none (message not signed)\n header.d=none;dmarc=fail action=none header.from=foss.st.com;",
        "Received-SPF": "Fail (protection.outlook.com: domain of foss.st.com does not\n designate 164.130.1.60 as permitted sender) receiver=protection.outlook.com;\n client-ip=164.130.1.60; helo=smtpO365.st.com;",
        "From": "=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>",
        "To": "<gcc-patches@gcc.gnu.org>",
        "CC": "=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>",
        "Subject": "[PATCH 12/30] Change `class bounded_ranges` to `struct\n bounded_ranges` to align tags",
        "Date": "Fri, 17 Apr 2026 19:27:54 +0200",
        "Message-ID": "<20260417172757.1015259-2-torbjorn.svensson@foss.st.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260417172506.1015169-2-torbjorn.svensson@foss.st.com>",
        "References": "<20260417172506.1015169-2-torbjorn.svensson@foss.st.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Originating-IP": "[10.74.22.122]",
        "X-ClientProxiedBy": "ENXCAS1NODE2.st.com (10.75.128.138) To STKDAG1NODE2.st.com\n (10.75.128.133)",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "DB1PEPF000509FF:EE_|DU0PR10MB7335:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "2fb593ad-a665-4012-62b6-08de9ca6b3d9",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|42112799006|82310400026|36860700016|376014|1800799024|56012099003|22082099003|18002099003;",
        "X-Microsoft-Antispam-Message-Info": "\n UudJKoUxo9pADpEhb9MJZfpzGCNUnBCRwjvmtgG32gO7h0LatlDpkqRzGZJVt2ZJOMZuANN/KU7vmAhcHa2bXZjhPSu9BNwq3UMFXlXx7gDTC67K/BGH4h4OLWsKA5CBfIgWf9LtdLoV4vvYPCxgzPMTrRHsJlxemcyMPdseyMPAKuBuy20k50yhj/vSrasoDyzImQmv8Ynzzp24/EAzavpW4ZTKOhtj5QqpkdjusqybkGzVuMW/GSE3Xxsc1q6ydnarJY8trpJ79c4vikpIneADMLHSY2foCOcIBK1P++cLwAwIbSfqXWcWB3AZaqaFLlJ7xcwvvaHdxXhUUA0ve3tzN03pT5PgnmDl8AoJWRlCmeCvrSTSlWe3tht3wBpcsmj3cutlrVyAtamoLCrj+IChzNJ9ccRh6z/Bu0fZNzq8JH9vlsVC2gMyXHkz8F5g29NO8V8MU6/H8Fp3Z0dGgQKLAjK3EcCPLB+6m1o2FVFS+auM2vxornYnSySgDvXADjLlmNsZYYvOryLGb0YB/UdgjFi/P5HvGS5R50LnejAWFq4CtoqASIM3xRktPm8STlQmkEXlxrr75fn+bxgu+H0UGImaipsbgMgi386ktlx1ThZin/swIb77lwQV0XvYcF3U4Y2vnHrDAoWXKTS9nDL709tIqmIXhAQlJspYth97OzQK0nv4KSwMB8KGZsl1wCSSKyEIGREqS2VQEToGgLc9te5W/q/uxqpnZYB9sMsceqaA6ynIfDoGhL2LnIjZhQEGvSvn0YtOjPMz4ql/9Q==",
        "X-Forefront-Antispam-Report": "CIP:164.130.1.60; CTRY:IT; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:smtpO365.st.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(42112799006)(82310400026)(36860700016)(376014)(1800799024)(56012099003)(22082099003)(18002099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n UlhEpvjQqG+QkfnjQ6ytx6YEuF0TrfnmtxNfo0bliXfBflMk/xuBsPYo+bAAwSP/Csc8tkUHZnbZBo3h7qGKC2DVlOBYQlr8dSKkb6fht8v0uY1AMdA+/VXbb03vY6mFKFLWnrWOp+xtfVsEb0ar/+jI01vKw+/AbjvLSnzNqW73xhGjUiU+QjpyEmwSV4ig6VsTqLSE6bnfX/6aziJ3ZE6YmHXnnm+nLZ6aOTruoBh5O0nSuxoxm2cBDvsJ3Kx/0IBjwr9A6wfWRDpxD5yVPE5OLqG+tPYODS7R+RbKy0qoEVRAKti+fd8L8Fv+MHDByK/Rs/RPZTZk2WJ19iReLFzEnXglQ17VYgAcVbSwsOl8j7s8lRNc9ttvfH31sNTbvnRRYneYLeP4/n8tl+iPjKMxtmUsYgTW6+73gQdzOz35yWAoD63+buafWd9WWzDe",
        "X-OriginatorOrg": "foss.st.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "17 Apr 2026 17:28:12.7825 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 2fb593ad-a665-4012-62b6-08de9ca6b3d9",
        "X-MS-Exchange-CrossTenant-Id": "75e027c9-20d5-47d5-b82f-77d7cd041e8f",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f; Ip=[164.130.1.60];\n Helo=[smtpO365.st.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n DB1PEPF000509FF.eurprd03.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DU0PR10MB7335",
        "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": "Building GCC with clang gives warnings like:\nwarning: 'bounded_ranges' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]\n\ngcc/analyzer/ChangeLog:\n\n\t* common.h: Change `class bounded_ranges` to `struct\n\tbounded_ranges`.\n\nSigned-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n---\n gcc/analyzer/common.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/analyzer/common.h b/gcc/analyzer/common.h\nindex cbe36dfb9c9..cf29122c173 100644\n--- a/gcc/analyzer/common.h\n+++ b/gcc/analyzer/common.h\n@@ -100,7 +100,7 @@ class rejected_constraint;\n class constraint_manager;\n class equiv_class;\n class reachable_regions;\n-class bounded_ranges;\n+struct bounded_ranges;\n class bounded_ranges_manager;\n \n struct pending_location;\n",
    "prefixes": [
        "12/30"
    ]
}