get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221755,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221755/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260410092829.665242-1-torbjorn.svensson@foss.st.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260410092829.665242-1-torbjorn.svensson@foss.st.com>",
    "date": "2026-04-10T09:23:07",
    "name": "[v2] config: increase stack reserve to 64MB for the toolchain on Windows [PR69639]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "43c75292960d270f473f5652a21dba060deb1e6b",
    "submitter": {
        "id": 84848,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/84848/?format=api",
        "name": "Torbjörn SVENSSON",
        "email": "torbjorn.svensson@foss.st.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260410092829.665242-1-torbjorn.svensson@foss.st.com/mbox/",
    "series": [
        {
            "id": 499432,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499432/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499432",
            "date": "2026-04-10T09:23:07",
            "name": "[v2] config: increase stack reserve to 64MB for the toolchain on Windows [PR69639]",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499432/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221755/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221755/checks/",
    "tags": {},
    "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=bSydm2Sd;\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=bSydm2Sd",
            "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.84.64"
        ],
        "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 4fsWj06r0xz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 19:29:23 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 771244BA2E33\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 09:29:21 +0000 (GMT)",
            "from DB3PR0202CU003.outbound.protection.outlook.com\n (mail-northeuropeazon11010064.outbound.protection.outlook.com [52.101.84.64])\n by sourceware.org (Postfix) with ESMTPS id 062AF4BA2E15\n for <gcc-patches@gcc.gnu.org>; Fri, 10 Apr 2026 09:28:52 +0000 (GMT)",
            "from DUZPR01CA0261.eurprd01.prod.exchangelabs.com\n (2603:10a6:10:4b9::19) by PAVPR10MB6815.EURPRD10.PROD.OUTLOOK.COM\n (2603:10a6:102:2fe::9) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.17; Fri, 10 Apr\n 2026 09:28:43 +0000",
            "from DU2PEPF00028D09.eurprd03.prod.outlook.com\n (2603:10a6:10:4b9:cafe::7) by DUZPR01CA0261.outlook.office365.com\n (2603:10a6:10:4b9::19) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.42 via Frontend Transport; Fri,\n 10 Apr 2026 09:28:43 +0000",
            "from smtpO365.st.com (164.130.1.60) by\n DU2PEPF00028D09.mail.protection.outlook.com (10.167.242.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, 10 Apr 2026 09:28:43 +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, 10 Apr\n 2026 11:31:28 +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, 10 Apr\n 2026 11:28:42 +0200"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 771244BA2E33",
            "OpenDKIM Filter v2.11.0 sourceware.org 062AF4BA2E15"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 062AF4BA2E15",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 062AF4BA2E15",
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775813332; cv=pass;\n b=L3zA1nGWfako/6LJ9P2CC0j5YQHVxh3Z500K2UK33EkbOMyPvAArQVE9aFBQWug/zCqmS0USF36wNflUI0wIgSP6H4Md5mGHOtw9nVit5ZeWxmerSfFGtiepD0iMTQTG36SksaYPQ+7JSB8UAhNDijwosSPBkNyJH/m8v7YNWdo=",
            "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=Xx2STqcv4SEGYAQ37uQ40Eh+y977Lo8uOD+G6Qrh/EAz1LpKvT4fbprq3u65plgmJYBVEztZDpDcDrY0vJDpI7y/LENqTZLgZMlcRcbVwXkg26cIPhfP9fQDwdlD890RZL3cvq4wL/oSejDjfy1fk73s9kinncxOSttFQO8YNgju/0dX55M+/N11YEtv/iwdt4Z742gEg9aplNIxa+ZDewhrrO2z7mq/v587gIFnXLeADc5PS2218/ugHtAmJYY+j80WTv+0mIDNxZXNbGkxfaK1j30IFOz6ZTAr91Rc4wX9OBDEbwp5/Q/6ZivAYPtNZ7KbaJ8pR8b67LQKvzbNjw=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775813332; c=relaxed/simple;\n bh=O9MQnvDg2z/D88tN+1Oe02UgXofZvv6zYjv4R1qRn0s=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=LzbuWeee90lCq0dmmqSLdSEQAFRcf2OsUKVkeRvr6pSX2iRVEsLLGWOEjKHCvv+2U4pmTElE+ifZVcW34StoqkKC0VkICHv3QCM7+Le8NaCqjmQCEqBNxn+fb/Ww/pBwiQdB+RXNb6+LCR4WmHdT+AaPvlGUhVxafGILv1UUlHw=",
            "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=evRiA4VfMuaT6+tyxt/bby9ypBZpNJa0qlXXZY2dWfs=;\n b=M5DaT7I8l+ILokKYeU3NeN9y46Rv2PCnr62XKBFzF1WRG1oOEBoM19LKcmT8opRLB9FDd2mYG0CaAHvKbiuQKGJeS492GR8lZNAz9vLqjlnxW/tphs8bGHYDQ8ZZ0J+Lr0OV+pJUZf79FgdRpAY25hqXtpHfBIH428GFko3bkaAnv/cl6DnRVL4kHLgeV6DKQj/MNsmuiYDNJNFkbdlrpVvSmD1SzhNAcmikARltDtSKEMMAzMhe7IU8Go5YvPDv5YzZOPGH1eOyIBlEk6s9QDn+teZ/NB02jpHr+uhBTg33yMr0KUB0Ow59UyXjl0jxyk0/0rw7vVj7ca2eH2nSnw=="
        ],
        "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=evRiA4VfMuaT6+tyxt/bby9ypBZpNJa0qlXXZY2dWfs=;\n b=bSydm2Sd97LK8f0J7JRLg9f/beekRAiPQTqIheHnsVIPEP5kL8qH9RrPdRavtXSDlWEFr0OPZDt34p/KAqNjOks0ezVL0ZTCcqDjkRzmetaTtsGtogng1243Wq0oNRbL0rElDhRw07dmIfyi6YPK2PWAN3yLczz3om5mD+F6ArUVb3v6JefTyNP4v5g1uctDmYnjT5yRY18tDPQLaL6IGYQoX2yBLFcu1MzHEW8nxaTXd1UzJMIZlr2mkqYzfom/1TvnAwXTCsOHy0e+TzWUxWRz9IwZ5kLYgCWW+OJLZ1LaTtUapo9drdzlyqK+7YfG9eQe9LnFdGdorqdqLKVIkQ==",
        "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>, <andrew.pinski@oss.qualcomm.com>",
        "CC": "<jakub@redhat.com>, <rguenther@suse.de>, <10walls@gmail.com>,\n\t=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>",
        "Subject": "[PATCH v2] config: increase stack reserve to 64MB for the toolchain\n on Windows [PR69639]",
        "Date": "Fri, 10 Apr 2026 11:23:07 +0200",
        "Message-ID": "<20260410092829.665242-1-torbjorn.svensson@foss.st.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<19cd9cb0-d9cd-4d63-b9fb-658a45243483@foss.st.com>",
        "References": "<19cd9cb0-d9cd-4d63-b9fb-658a45243483@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": "STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com\n (10.75.128.133)",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "DU2PEPF00028D09:EE_|PAVPR10MB6815:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "3b18a94b-17b6-47cc-d6b5-08de96e38ed8",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|42112799006|376014|36860700016|1800799024|82310400026|18002099003|56012099003|22082099003;",
        "X-Microsoft-Antispam-Message-Info": "\n JI/rKWYva4v48WvcRniB9zyrFlaSD/+0oCacbO+hCjHtRq/oWYzL+EDpH5iN7RZV3j99x2NRoP3kzdwxzNEI4DoKYiZsAhgBxaueuUqvJmuvMJkBYkWZ9Z1N3AIVMRZUM7RmW5RWd1jYBzZ13K5bZbBBO2mLVNEIrNQ9hKIy1dvWdT8A/9ngwjWRxRg9iogtsxp6nut0n7+rRP5deed635dDpeAbsGJBQ5ot05OOFpm8DjKM6ouVVFTsWltuo4aqyweC6C3RGUcSlnvxKUJsZ4YWvDXxtpob1VfZcNCXiXyfTg7xfwlVv5Kk3IdRDNvqFVPGBX6n6JDwIzW0nrIHyjkXGp+ArbHtZr6zWtzSTkU461f56ahcyQZ8om9VERfMjd6BK7vV3Z2VQM3Nwlw3NudAUpQBwcZ5LGk7ec+RDbmBXNVvxRUWhPgB+tmN+P4PEsONKjhj5zEnIuZS2+lk6IWSdSv2mkbFXEfe9W/rueLLUgAT5FX+InUgDxCIjPatrKlp6KwhTh/quse+0rKx/czInDKM6nkcJp7bDGCGxuYmiBmjCwH01seDxK/6EsG/BrzNjxRuNxY6Zowkhy/HgFWlSL+Tzc99+nTm13o4hCcYP8Mp9wayCkpilK30/+flqjJKgxHuYnrTJMZFhKQ8uHcnBvYnKvWXgDpeYzFXGbXQz/BizSC4rULv2Px47WmseYiGsgg5isPZACJjJmMW7EsjLAh8XLiB9nPof+WYWBFf6bWIBFgD16W7r0Ku86pS7RUNO8GEtqYpJqSCbSKMQw==",
        "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)(376014)(36860700016)(1800799024)(82310400026)(18002099003)(56012099003)(22082099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n gU61RNBp6NLIwQLjx6SPO74J/mvj2yAZi8epGDEZ58/g1bPwFLIaX/gdtZeh1kq13FLxnqOiFaZc8TFvgOPxRA6ckIogQqc0bR7b6UHKpBLsvqYx6kuy3mELVjPuiywvfE4aESshybpYx+JV/Ul3kGp7gMHJGI0V7Rt9ZHO7YjpDiuox58O0s1EZcrADqltrMfdOGE9sfIwFEOF364npwx/Ui327CIkMA3JnDlKW98fuXpIVt9wJ4Y0s9lcmS35SwZKcxDwXFrc9Ar6tFWbpRbDOzUAmYgLyrL7NymnRRYgzxZyN0erw8orplsSoTcjx7ATxbYhsNYOmWaSjH6KvYIpRK+WF+tOIf8IZJNZf91odyw7yiaf0lPtRUJhMs8qQfIrbbqjUxWA82hx9x8cz8OEbQU4kdXVsf7bDnS+bsFGVteizzkV5EX1JrPdXF3yg",
        "X-OriginatorOrg": "foss.st.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "10 Apr 2026 09:28:43.0333 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 3b18a94b-17b6-47cc-d6b5-08de96e38ed8",
        "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 DU2PEPF00028D09.eurprd03.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "PAVPR10MB6815",
        "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": "Changes since v1:\n\n- Changed the stack reserve to 64MB.\n- Updated comment to state that the value is in sync with Linux (runtime).\n\n\nI got approval from Andrew Pinski for 16MB with update for comment, but since\nI change the value (there was also an extra trailing 0 in my patch), for\ncorrectness, I seek new aproval.\n\nOk for trunk and releases/gcc-15?\n\n--\n\nThis fixes fails like below on Windows.\n\nFAIL: gcc.c-torture/compile/limits-exprparen.c   -O0  (test for excess errors)\n\nOn Linux, maybe also other targets, the stack limit is dynamically\nchanged when the application launches.\n\nRegtested with arm-none-eabi on Windows on top of\nr16-8253-geb50d28a9353e9.\n\nconfig/ChangeLog:\n\n\tPR target/69639\n\t* mh-cygwin: Increase to 64MB stack reserve.\n\t* mh-mingw: Likewise.\n\nSigned-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n---\n config/mh-cygwin | 9 +++++----\n config/mh-mingw  | 9 +++++----\n 2 files changed, 10 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/config/mh-cygwin b/config/mh-cygwin\nindex 1f746bdea84..194f70de4d5 100644\n--- a/config/mh-cygwin\n+++ b/config/mh-cygwin\n@@ -1,4 +1,5 @@\n-# Increase stack limit to a figure based on the Linux default, with 4MB added\n-# as GCC turns out to need that much more to pass all the limits-* tests.\n-LDFLAGS += -Wl,--stack,12582912\n-BOOT_LDFLAGS += -Wl,--stack,12582912\n+# Increase stack limit, to the same value that GCC tries to change to at\n+# startup on Linux, as GCC turns out to need that much more to pass all the\n+# limits-* tests.\n+LDFLAGS += -Wl,--stack,67108864\n+BOOT_LDFLAGS += -Wl,--stack,67108864\ndiff --git a/config/mh-mingw b/config/mh-mingw\nindex f5fb064813f..a225b80914d 100644\n--- a/config/mh-mingw\n+++ b/config/mh-mingw\n@@ -8,7 +8,8 @@ STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS\n STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS\n STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS\n \n-# Increase stack limit to a figure based on the Linux default, with 4MB added\n-# as GCC turns out to need that much more to pass all the limits-* tests.\n-LDFLAGS += -Wl,--stack,12582912\n-BOOT_LDFLAGS += -Wl,--stack,12582912\n+# Increase stack limit, to the same value that GCC tries to change to at\n+# startup on Linux, as GCC turns out to need that much more to pass all the\n+# limits-* tests.\n+LDFLAGS += -Wl,--stack,67108864\n+BOOT_LDFLAGS += -Wl,--stack,67108864\n",
    "prefixes": [
        "v2"
    ]
}