Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2224611/?format=api
{ "id": 2224611, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224611/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260417172834.1015281-3-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": "<20260417172834.1015281-3-torbjorn.svensson@foss.st.com>", "list_archive_url": null, "date": "2026-04-17T17:28:33", "name": "[18/30] Change `class graph` to `struct graph` to align tags", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ac9e93ce18476b2b1cc4e6017bcc65881dcc1029", "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/20260417172834.1015281-3-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/2224611/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224611/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=R9bw06PF;\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 (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=R9bw06PF", "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.65.38" ], "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 4fy22Z1xqnz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Apr 2026 03:30:14 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 461274D8D1FE\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 17:30:12 +0000 (GMT)", "from DU2PR03CU002.outbound.protection.outlook.com\n (mail-northeuropeazon11011038.outbound.protection.outlook.com [52.101.65.38])\n by sourceware.org (Postfix) with ESMTPS id D5F2E4D108EF\n for <gcc-patches@gcc.gnu.org>; Fri, 17 Apr 2026 17:28:52 +0000 (GMT)", "from DU7P194CA0030.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:553::21)\n by PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:248::14) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.48; Fri, 17 Apr\n 2026 17:28:49 +0000", "from DB1PEPF00050A00.eurprd03.prod.outlook.com\n (2603:10a6:10:553:cafe::36) by DU7P194CA0030.outlook.office365.com\n (2603:10a6:10:553::21) 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:49 +0000", "from smtpO365.st.com (164.130.1.60) by\n DB1PEPF00050A00.mail.protection.outlook.com (10.167.242.42) 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:49 +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:38 +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:47 +0200" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 461274D8D1FE", "OpenDKIM Filter v2.11.0 sourceware.org D5F2E4D108EF" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org D5F2E4D108EF", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org D5F2E4D108EF", "ARC-Seal": [ "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776446933; cv=pass;\n b=faEWcb6oIZPoF3AFIEiGEimW2ds9QceWg84dVoL4qnwCgl366NuO0AdAxA4RclNuJg5m5uIwLvOCHTiVpjOTFxC2wRQliSxCBvOBHm0KA2sB7j+rUayXbycD8Jc/x04xFboQDA+2+fzJu/MVCMrG1SED3Cj/QvYf1UtE4fp9/EU=", "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=hQ9n5RZW3ARPhH6+Hpwmid3+3Ru2EVPyDzkPg1onMkk/iW9s1kKpwJagTK/s3Cu9pzz0sQwKD6oGi5NV64SlJ6R/z/+ZD1xPPaW6pAWGbiXAuKgTs2gCsAUAHDLxnF8lVpDwJdzIhuGDbi7EFr+kU8rp67fZ49spebEkAa/t/VeyR4c+wNMNG52T/4du6QgMvkts2VNDhPjl2ebKeaL6l8/rHl0v4rO7z6kO15I5CMYeYWcUlXhwwlG7Mlw7QTItm061P7r9zt/KaYqwxVPjOylzkybgTYbs+oJN7F+f4Mkd/EcnarcKCy3zx/mLLklY/gLG9sTiHKhdg3qkS1pHrQ==" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776446933; c=relaxed/simple;\n bh=ltUFdTvOPMvkmwTz19aRPbGS7bhiYr7Xz7vryoCenfY=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=S+3R6/Xuef/BPDqicu3N/M61WiGupHJuhdvqEtsupdaRMGhNM+jdLR8EQT635KSRbdgyPUjXpuyDgtz/DEog/mjBSAwrzqL0Wx4tkmXhFtSQhOCXZuUCKk3QW6ONG+Dgxhs7eTCkqJio/T2HS/FHkieNAV+S99WJpvYYs8Qz1OA=", "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=EKOXwTm9FX2YGbxaNL2xASmvsmI/WgXpzJaHuiK+Izw=;\n b=QQ4Wo8S3AeQCcux4ZW9rIGztUSlUSxT9oXfvMitfr+NroL3HHS/OyoRdIHJ7NYQk84iQH/JLFMZAGy5otIOvpPwR3ILYwFdXLwDLwWM9n8viHKEBm1gn+QEWGr5+qw1jWLMSh827Z3ZmLZXDxH8SPoJVxnl0cihTMOlWz9EKd/u+sTd2rCP22h+tOnEhboIJ+fw2RHePiwnTudgjZ+9cUUc4peCRQNRHpOQRQqieYxqD736S/0XMCoWEWxT4BFwW4ZNBX71Qe6Awxd9WStBWiFuvP6W3venyM+Ou+2olUo41KexoHZRLzSRl53GgyQV0ouE0jc3Z/sCMy/VwymYrHg==" ], "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=EKOXwTm9FX2YGbxaNL2xASmvsmI/WgXpzJaHuiK+Izw=;\n b=R9bw06PFk9umJmY+fSi7PsqZ9s1NTUPJSFSPSUiRzkuH/iVG36KyiOPfrQqCYrV/IL4NoU8hI4vNxV7H/sQV29zCVMJN7cLW/zuqXyBLZKRXst09mzPhuErk2nCtbDBYfz5conUqKPZ7GiJUDSfgOZvImAtlldtmvVm4JvviJihjQoHZH4QIpR+TlZhfWZUNm9TGxyk2P+CXe0CSegOlte1hJ1OBX21On6HTT47xOoJithxmDyz3MfhNROESAlE5eSfc3hM3Dn9uqJb+PIa6TysbrSrB60X7ZIdlu38mXRNcKDJBoaYN79G88lvx6juqNxOtm2300M3yiK+GF06iYw==", "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 18/30] Change `class graph` to `struct graph` to align tags", "Date": "Fri, 17 Apr 2026 19:28:33 +0200", "Message-ID": "<20260417172834.1015281-3-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": "DB1PEPF00050A00:EE_|PAXPR10MB5712:EE_", "X-MS-Office365-Filtering-Correlation-Id": "4277c7a6-3944-42fe-5c86-08de9ca6c970", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|82310400026|376014|36860700016|42112799006|1800799024|18002099003|22082099003|56012099003;", "X-Microsoft-Antispam-Message-Info": "\n cv4VPrvjjNRwrhwOPOCk2TBP9w/glFe5+Uk/+83VIRdpRA1X8TIGg/pXSP3uQbYA/kmZJ7wnokYlprzuzk1ZbYSGQaPfeIRvqJ5gj+mduH/fSoKy8sC7jh1NGmz6Kt5WdbBMEGFgOehqO8lQIPkfDs6KjfRGTJaj5JgBPskD/gmSZxs0hFi5TgLOUluZ7/9s4eD7Q7TLP47e1lRwwoEL3NjN/pNWzIc/wkC4yZxVcFoKYpEMspOdYLrI0S7ODCCzT2QwvNixllX9tIIB8XHTpd+RNlY9erXVLq0Xx5sdZa9/8qf1Xw/sPe9BZJbqhxUXelj2m69KTZgalpCMholM3CGzIdSDujxYc3oPpjya6Zc7jRuyLgmu5Y6LiWsBvjd8fsRCFxTv0wXlkiH+mWr67JXNKlwkoEq5OGwL9LrlVHfFX0UZ9ilRx5vG7MVF/y+QVBfVNZYAFBGdksrebqUnMGWO//z+ZTZoQXIWl4nvIQDE9IdexMvAn/N1NOMftTqWVh8l2A8LVSfB+iIbzyVgkZ1WKReWBhBVtjdsi0sdgZdNFzd7DlxzeS9MiHTpnBgIl/UoRU9AHsNe484I4kOmCKLVqBhFWA541NDNJh4YLh4jsYOqdwmf4BB7JjzT2cCvnVNZ9WhT4IiKr0v/v14ks9shA0MJtHMe53z1AiLKp7mDJaaNKkwO8dNx538dY5goI7kDHofltBWOxZO1T3HEW/0L55jkPRaqWj27sNc7ss1beAMg8VM+2VpVlwWXrTyTwTsq7FRw9IlUk0zWujVXNg==", "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)(82310400026)(376014)(36860700016)(42112799006)(1800799024)(18002099003)(22082099003)(56012099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n AWirWUB7XwzyddU0RSkjL1zXCW9QeHQpuBpRADYsbV3viWFgPW69NYOOrAxJyAIlIRGOCDyIse4ZnvErpRbjiZ1ShLMxLuiS5Sv8snxrHh/DE6G8v4ZiB7hkq6qgYQL/w8fOJX407tn1WfyfPNJBLbyfIsdVXCLihKL8LpG49WZwHAtAeFhm8nbJeVIRy9ksuAB7l+yYjg4E7Ag0QWGtDTAn0/KgMqCyKCFzIX15JFDTMjnhhNa28C3cOfxk8IDJp70gkpC4gi/hWh7ZpnXZx1ysl7N6ChbDT0HBOdKWB4HfF1/6nWhpcH0RBsuh6U3EMcozPuvW4/OJHHUufYiW2T3P0kL+bp72F6YR9X+46ijT2IqtWrJ30WZHu0xBk7XCpVpreGv7EKS+iiXnS4KSvwilESmmMfKzqIf+xtl4+SYuHpZg+DuluAy8BIzwa8RO", "X-OriginatorOrg": "foss.st.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "17 Apr 2026 17:28:49.0104 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 4277c7a6-3944-42fe-5c86-08de9ca6c970", "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 DB1PEPF00050A00.eurprd03.prod.outlook.com", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "PAXPR10MB5712", "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: class 'graph' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]\n\ngcc/ChangeLog:\n\n\t* diagnostics/digraphs.h: Change `class graph` to `struct\n\tgraph`.\n\t* diagnostics/state-graphs.h: Likewise.\n\nSigned-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n---\n gcc/diagnostics/digraphs.h | 2 +-\n gcc/diagnostics/state-graphs.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/gcc/diagnostics/digraphs.h b/gcc/diagnostics/digraphs.h\nindex 682d980b6ab..a2d1c89e65d 100644\n--- a/gcc/diagnostics/digraphs.h\n+++ b/gcc/diagnostics/digraphs.h\n@@ -31,7 +31,7 @@ class sarif_graph;\n class sarif_node;\n class sarif_edge;\n \n-namespace dot { class graph; }\n+namespace dot { struct graph; }\n \n namespace diagnostics {\n namespace digraphs {\ndiff --git a/gcc/diagnostics/state-graphs.h b/gcc/diagnostics/state-graphs.h\nindex e7a43a26d72..8a5c0aff9d0 100644\n--- a/gcc/diagnostics/state-graphs.h\n+++ b/gcc/diagnostics/state-graphs.h\n@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see\n in these nodes to stash extra properties (e.g. what kind of memory region\n a node is e.g. stack vs heap). */\n \n-namespace dot { class graph; }\n+namespace dot { struct graph; }\n \n namespace diagnostics {\n namespace state_graphs {\n", "prefixes": [ "18/30" ] }