Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2224603/?format=api
{ "id": 2224603, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224603/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260417172621.1015209-1-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": "<20260417172621.1015209-1-torbjorn.svensson@foss.st.com>", "list_archive_url": null, "date": "2026-04-17T17:26:17", "name": "[01/30] Change `struct alloca_type_and_limit` to `class alloca_type_and_limit` to align tags", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3ab31393106c18764f30502fc9b4cc7dcd043dbd", "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/20260417172621.1015209-1-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/2224603/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224603/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=fhClbCzM;\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=fhClbCzM", "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.69.45" ], "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 4fy1zN1G9Kz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Apr 2026 03:27:28 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2E26C4CD201F\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 17:27:26 +0000 (GMT)", "from AM0PR83CU005.outbound.protection.outlook.com\n (mail-westeuropeazon11010045.outbound.protection.outlook.com [52.101.69.45])\n by sourceware.org (Postfix) with ESMTPS id 27FB74CD2030\n for <gcc-patches@gcc.gnu.org>; Fri, 17 Apr 2026 17:26:39 +0000 (GMT)", "from AS9P194CA0027.EURP194.PROD.OUTLOOK.COM (2603:10a6:20b:46d::22)\n by AS1PR10MB5238.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:4a4::18)\n 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:26:36 +0000", "from AMS0EPF000001B5.eurprd05.prod.outlook.com\n (2603:10a6:20b:46d:cafe::81) by AS9P194CA0027.outlook.office365.com\n (2603:10a6:20b:46d::22) 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:26:36 +0000", "from smtpO365.st.com (164.130.1.60) by\n AMS0EPF000001B5.mail.protection.outlook.com (10.167.16.169) 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:26:35 +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:29:25 +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:26:34 +0200" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 2E26C4CD201F", "OpenDKIM Filter v2.11.0 sourceware.org 27FB74CD2030" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 27FB74CD2030", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 27FB74CD2030", "ARC-Seal": [ "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776446799; cv=pass;\n b=aoVh5i93xQNfM8I5qsimkS16HKWaANNtYcvcP/gqLoizU0ACpmZBgkkmxCiIXUQ2ezrWJVuQOHM7gBnm0rxBXdWtM+eGiWvzNV7x707Yk6daNNWVOH4GLXer77+TthDiXuJZ/RONpWdPYftYrmkGaxmuN5G/lxrXg7qQl0qO660=", "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=Nx3HCP3xFhO14+daZ5Q0CgzDgSRwzD2uSEjsO9Ysj4uuDf9lw0Dj/R0xVuGUceTUfxyRSAj46KCXN4cwn6EDfZVbaoTy719KYza28vo0i3JCZWL8nBjL2FoLr1fJAOq4W5VRfnrXzoj5BJot0f2ALtI7avKKuc0Giha/PhyRsWdIDn66nEcxEujzD08QZahSkejNLrcov42xLG0qtpBr3BC3bqg0fiB2ZMuqPlmxTF8QxyFDrTHgWI9dVhjx9Q/X+IJN3L67bs2Tw/n5tQvvRElSUNv7AzPnjem/M38H7wjTDEkfImZSxSYzeLq7wKtoMjjhDSKN74QLb2cgXV00cA==" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776446799; c=relaxed/simple;\n bh=xzXx/uqgZJLMYprV3WuGXMa/nK+Y1pAMP/9XRUkj2jI=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=NKXrZ1Z6ewzeXo7/by/LEk7N/S4rWJfeuMHx7+rSBUYpdTJAh/tUWCnfDmwvjjA3fgG/Jooa5M6B+jTA7h+yMR6RVAEUptG3BPXkL98NhaXBRWR2iKmxfCMmBmgQmqmVtWphP2HLGTLQ3n1PT24dZn6KL8Ud5IFy7KuC0jIpnpo=", "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=D4/wgak16FoTwNH66E7v+lhY9uBVtA/aN19seTnjYi0=;\n b=YjOA7/3OMuI8zE5CGkFiCnxk8cB6rK7zOkLYx0fnLdhZKlukNDN3uMJySLCRKs4lWVjXzORaqAaENI1QQGKGf17lTKF8qJbP/CxrF4X+Ht1b1oRPWxkJ9Kpl+lzj0tizfKQvIFDq/X73aUhn8rHz1rIWSKDPcUBn6vWsYn0VaI7/48h0Igljcet8yzT9rjOSwcZeoZB3S5a9yriSNJPURvbdfl8o92jd6WJkQ/tQrOtDX5ZpKmz04x+figwmOG5v+ZP69R0BRQF1C1eR88tg9a8mSUzSxnL3+VLa6d1DMO9jWYToNnvb6DUQb+cxocqGggz4qckPHYiVeuMeeUEObQ==" ], "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=D4/wgak16FoTwNH66E7v+lhY9uBVtA/aN19seTnjYi0=;\n b=fhClbCzMi1DAsNueDh4gSmUnojt0v0kbWoKUMkoM+rq2UxD6gLKLn8Tx6DK4/9xzxnUcM59tpXBLdLNhP+YXvf7So8RTPfadBfeSua48h+G5YjcZbEkzc1H2pbbr4qcu8KBQWCfZaDtF30ZJUzhHL8ARCKc/8QwAbVcj2XDq2GeZ+0cSDSYhuGQWokHvUZcteY6BQCzKqJxhXZOfrCftBvvrKcQgtc/t+27Aj+dj64XDYL2TAqHzeBKOMMb5rxo+ky4uLMmVGsWXGDDxn0P/Ht9b4xg3HFB4s9Evn+sQ0NvwGpmHiLrERpxzIXdP2cj5lNE//3vFpNz1QjoqShQhAQ==", "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 01/30] Change `struct alloca_type_and_limit` to `class\n alloca_type_and_limit` to align tags", "Date": "Fri, 17 Apr 2026 19:26:17 +0200", "Message-ID": "<20260417172621.1015209-1-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": "AMS0EPF000001B5:EE_|AS1PR10MB5238:EE_", "X-MS-Office365-Filtering-Correlation-Id": "6b9dd26d-eb06-4953-db2f-08de9ca679ec", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|1800799024|42112799006|82310400026|376014|36860700016|18002099003|22082099003|56012099003;", "X-Microsoft-Antispam-Message-Info": "\n dNDd+Qe3CZjO3kG3cfHbKdvGi3w5uRUUZfaSWRfFoLSLyhos9ywK+W2cGomd1011Mv57yvZ6TzS7AEcgiguDeMn8GT3sdYC7DJRVGrPwyH4ekLrQuAhSGngPMZLK5ATHz45GnnAt74paiArT5Lg9sNveZiNmFBFE6mmIHTevzewGVqkFuGQNedQVrbQ+DDPmfqdCkbUj7wu9+RaqZuaoY59uyCSEv3rvRyXqwkR73XhgIV6HzHjgbyvyTSsRqCqq3EamXWDLUMAh/fk1BiqtiQI6snKy95H+p8loyH3HT7lq+z5haL00FgUcnONAUPMti4agLFGFd8zkKP2FZ1dFr7hTu2GxFAiGKNDGd4IW+UgcYfinL4xFr+HP9S8UR7gt8xD09zR+f1x/Stj1FOTq/7qFVgSDxMy1dMOeC/l6cKN3ZTpO8dwRkNqEdjj1lencpt4dOjMJDenqxDYRuQA4Na/dUScqv7In5EBZ0Kxe0cZiwDTr7/wn1J43TtqIPJLrg9Jg3QzXc0DANWdUxgnkPTFoXAktc6AZb0JDIeNDc6wp2pdmyGyWc2EP0DQKOeAM1XU5RXRLB7xvpVNuYkKW8t+4aWBoSp/9m419COHueB7zeUZgKyAuYn8wuBD1rXKNVKJdCeJnfGRTCWAwVE6rQiXFvUNKJ/5j4arBTCRdl718ub6wfLd9HTVZ0hrCvy4k7EffaLOuF4w4JerHFYrjZZGQLoH2rcyC1X8vHdpgWhnlZt/MnLUSTtF9tzbKzo7OXijDg2Y1mGChl56Qu9Q7qA==", "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)(1800799024)(42112799006)(82310400026)(376014)(36860700016)(18002099003)(22082099003)(56012099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n om5R4oNEVMW3FOMsvJ9l9RXzRmxL7C7GQAbSfa3SPzW2nRZ5VPzMneEjTiKLzyW9kRKJ3Iglg2TE4Nl9FVUft5MQfFOK1BdBTSBw/2JU4knZC7MXLv0IUKSeeBdMgXYj5KHfIHlBrs0hR6dvOdLErHhu/JUgLljnPnrapp2RwltLtJaoL5VQv3ccuOHVxj1LS2rLb61yvQiShCCgx/l7ljED0hqLZ1dqt3SsH6mPye5r6Ku1j2ekdfmwhlotq++uELF9xofgd1y7VSgUOq0zVsdDLhzUOpS4KBl1vDkLHJ0KKJ0H9AOyUbRtX7ydM3hwTX57rTIGlZIj2j7m16KqH1Sl868Vey6vzVW9VtqCdXnB7OC+74GE17wC0n5uIxLkIJbB736HZmQ648ttuaK3tHKWgypVFhyjYsfzW5omWz8MiqdikVKjLE3ZTlNVrD06", "X-OriginatorOrg": "foss.st.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "17 Apr 2026 17:26:35.6391 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 6b9dd26d-eb06-4953-db2f-08de9ca679ec", "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 AMS0EPF000001B5.eurprd05.prod.outlook.com", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AS1PR10MB5238", "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: struct 'alloca_type_and_limit' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]\n\ngcc/ChangeLog:\n\n\t* gimple-ssa-warn-alloca.cc: Change `struct\n\talloca_type_and_limit` to `class alloca_type_and_limit`.\n\nSigned-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n---\n gcc/gimple-ssa-warn-alloca.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/gcc/gimple-ssa-warn-alloca.cc b/gcc/gimple-ssa-warn-alloca.cc\nindex c847db02147..812116cb833 100644\n--- a/gcc/gimple-ssa-warn-alloca.cc\n+++ b/gcc/gimple-ssa-warn-alloca.cc\n@@ -195,7 +195,7 @@ alloca_call_type (gimple *stmt, bool is_vla)\n return alloca_type_and_limit (ALLOCA_OK);\n }\n \n- struct alloca_type_and_limit ret = alloca_type_and_limit (ALLOCA_OK);\n+ class alloca_type_and_limit ret = alloca_type_and_limit (ALLOCA_OK);\n // If we have a declared maximum size, we can take it into account.\n if (gimple_call_builtin_p (stmt, BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX))\n {\n", "prefixes": [ "01/30" ] }