[{"id":3672886,"web_url":"http://patchwork.ozlabs.org/comment/3672886/","msgid":"<CALvbMcBsJj5+T+EYuG3wzXwBWBuTZiKMp2dcAn2k5Bkc0H_yow@mail.gmail.com>","list_archive_url":null,"date":"2026-04-02T19:50:05","subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","submitter":{"id":91428,"url":"http://patchwork.ozlabs.org/api/people/91428/","name":"Andrew Pinski","email":"andrew.pinski@oss.qualcomm.com"},"content":"On Thu, Apr 2, 2026 at 12:29 PM Torbjörn SVENSSON\n<torbjorn.svensson@foss.st.com> wrote:\n>\n> In PR49756 back in 2011, RLIMIT_STACK was increased but it does not work\n> for Windows.  For Windows, the stack size needs to be set during linking\n> and not during runtime.\n> According to some initial testing (have not gone though all failures for\n> my Windows tests yet), I see a large improvement by bumping to 16MB.\n>\n> I'm not sure if 16MB is fine or if we should aim to algning with Linux\n> where RLIMIT_STACK is set to 64MB.  Unless I've missunderstood, on Windows,\n> the stack size set via --stack= linker option is the amount of memory that\n> the process will consume regardless if needed or not, so setting a too\n> high value might have a performance impact.\n\nSo the comment in mh-cygwin/mh-mingw is not matching what is done\ncurrently. Since you mention the default is 64MB on Linux and it says\n\"Increase stack limit to a figure based on the Linux default,with 4MB\nadded\".\nI am thinking we should change the comment to mention 16MB and the\ndefault on Linux at the time of commit was 64MB.\n\nOk for trunk and 15 branch, with the comment updated in both files.\n\nThanks,\nAndrew\n\n\n>\n> Ok for trunk and releases/gcc-15?\n>\n> Kind regards,\n> Torbjörn\n>\n> --\n>\n> This fixes fails like below on Windows.\n>\n> FAIL: gcc.c-torture/compile/limits-exprparen.c   -O0  (test for excess errors)\n>\n> On Linux, maybe also other targets, the stack limit is dynamically\n> changed when the application launches.\n>\n> config/ChangeLog:\n>\n>         * mh-cygwin: Increase to 16MB stack reserve.\n>         * mh-mingw: Likewise.\n>\n> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n> ---\n>  config/mh-cygwin | 4 ++--\n>  config/mh-mingw  | 4 ++--\n>  2 files changed, 4 insertions(+), 4 deletions(-)\n>\n> diff --git a/config/mh-cygwin b/config/mh-cygwin\n> index 1f746bdea84..3be1cfe5dc3 100644\n> --- a/config/mh-cygwin\n> +++ b/config/mh-cygwin\n> @@ -1,4 +1,4 @@\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> +LDFLAGS += -Wl,--stack,167772160\n> +BOOT_LDFLAGS += -Wl,--stack,167772160\n> diff --git a/config/mh-mingw b/config/mh-mingw\n> index f5fb064813f..787719a06c8 100644\n> --- a/config/mh-mingw\n> +++ b/config/mh-mingw\n> @@ -10,5 +10,5 @@ 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> +LDFLAGS += -Wl,--stack,167772160\n> +BOOT_LDFLAGS += -Wl,--stack,167772160\n> --\n> 2.43.0\n>","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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=lPkZfD7B;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=HOsvnP9B;\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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=lPkZfD7B;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=HOsvnP9B","sourceware.org; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com","sourceware.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com","server2.sourceware.org;\n arc=pass smtp.remote-ip=205.220.180.131"],"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 4fmssm6WP7z1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 06:50:52 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id B8E524BA23C1\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 19:50:50 +0000 (GMT)","from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n by sourceware.org (Postfix) with ESMTPS id 3DE0B4BA2E1C\n for <gcc-patches@gcc.gnu.org>; Thu,  2 Apr 2026 19:50:21 +0000 (GMT)","from pps.filterd (m0279870.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 632G4Wbc2922071\n for <gcc-patches@gcc.gnu.org>; Thu, 2 Apr 2026 19:50:20 GMT","from mail-dy1-f197.google.com (mail-dy1-f197.google.com\n [74.125.82.197])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d9qw09ut3-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Thu, 02 Apr 2026 19:50:19 +0000 (GMT)","by mail-dy1-f197.google.com with SMTP id\n 5a478bee46e88-2c3b8880ca9so1582891eec.1\n for <gcc-patches@gcc.gnu.org>; Thu, 02 Apr 2026 12:50:19 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org B8E524BA23C1","OpenDKIM Filter v2.11.0 sourceware.org 3DE0B4BA2E1C"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 3DE0B4BA2E1C","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 3DE0B4BA2E1C","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775159421; cv=pass;\n b=uohhJN5ZZxgbJvqnEFuPdYIpivnZEI4xbcrdD5UggdP7Mid1PSqrIay3depoME0ReFZTiSyEHnfROgfQIFGi4LlLMLHPaQMk03jSXb+SjwZTXXDnKUCx0Njxogy6TY4+38arCU1IzEXkdU03g0nlygBxLb3lpVVWWasncJIlePY=","i=1; a=rsa-sha256; t=1775159419; cv=none;\n d=google.com; s=arc-20240605;\n b=HqQi0w6yKguT8Sf9gYX4AS7keM90eEr05IWgMl9kT1hyPkFWnSFAYa4BN7LbcHFfv3\n nCUBZ+TM8u4YhPnM7zJl2QUSZQlbGolsG7rtCIx88/oplnaqoPeFNDt8kUztECAwrkfz\n TlEERD/b1M9KQlKon/fqjgwtMk2O0Uu3/uvynzkdB4uOUhKelkPZhM+2S7r0vrSF1miJ\n nO0aYXzZFhFgryemaLpNdUqeMsVSarriPK8RP+5FHj2qA/+FS3Wk0jW0WkxpioGvmrqG\n +80keVf3ovRCo2oQjJhZ4LuHUOkxavMQG4Oho2DHhCQCwlnBRtFLMATi4Y9lEM18Fn3M\n 12cA=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775159421; c=relaxed/simple;\n bh=t/uUsFnySM9w/Q3f29l/hGEmo0HF+MQEm1jpq4EzwtM=;\n h=DKIM-Signature:DKIM-Signature:MIME-Version:From:Date:Message-ID:\n Subject:To;\n b=GWrjAildkKpqX0nJK5hb05EYWCQ8jJgIsG1fhsq56ydrlBIPq5rjxyZhsYwhtRSGAAmowdlFUNKXMFTvcHS3fU7TuBWg6hCutwnMeeLRQkc/KxInyAfyI4+mewukIBkX3eSW+hgCac+Y4vWNXncpvUAuv03kIkAYL1DPBBbb2mg=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=OSgi/6xHWb0whuPonStCiD0FCBV64W5QdF3xgEpbGMU=;\n fh=9qWnpuNi7I5Kl/xCYzc46J9JauAPZHrayKXC6cv9FC4=;\n b=F8u6TlhhThFK7EaBSQsarifewUKctfiHDh1p91jtqZZxtRpn77um1MsoOW6UfZLTUn\n MJwwFG0j+T6+BFHQojxnEquYamzbLv2RbRbqMbYqcuH0d+wolI1OBBHBWouMd/d4Hviu\n taRQgDXTaiUWBRjCA/84ZDlIog2TjJ3Mj7YPbe1Z8f1E06hqfTKDGCAN62CJoPOLKCqP\n NG/Rw2B2AfmXIHdQ0YejkwkUAqjTjccfFtxxYQHL0XXPOuSN0ox/LrIe2JtKD06hRU9m\n gBJGbC06vn6o/gTTDLpEaqZChIbB0b5zQlMF7QeusbfXFz15p2h4o/4dnOrsw1VO3CDi\n e7Rg==; darn=gcc.gnu.org"],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.google.com; arc=none"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n OSgi/6xHWb0whuPonStCiD0FCBV64W5QdF3xgEpbGMU=; b=lPkZfD7BSmIb8EpN\n mnLbz81TdvddrmyyyETbERUmvqRHYGRmTp2iVZCh85LJ3W1KB5L5nGoZyEh/KlYU\n 89UvKr++CPoLTvYSNXxTPAgs5HM0AS/Qc8WGIj69/ssx4BZ7nPWMm6gRR6kk/D37\n ljv2B24KynLxhWG6jB4TwEHCi/3KDZWeoQBhENdkU6O1thrTwCPsf1dzME9Gk7FW\n 8CcXvlkO7tS7aUTkkI+2LU6A1f6wyZvhpBdaFJhp9tbNxK48WOegbIXKwnEGmihJ\n Yn3EbrH2WIOGPCfyI0xwgpt7szJWu9GZ+MvMtiQfR4dIHCwrQcJS322IhITsyqdV\n jx6Gag==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1775159419; x=1775764219; darn=gcc.gnu.org;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=OSgi/6xHWb0whuPonStCiD0FCBV64W5QdF3xgEpbGMU=;\n b=HOsvnP9BbFDItS31+CCj6MFPqxUbs3tIaNKKve1ESoW/ZlCv98bTqivVO6HAFyT9mj\n xuTY3nVjNF4UiNDZCurCOHPab8qV2SOH3XmJWMtceZcIQSkhjkh2yvVNXohotbFL67If\n uCRVN6l0HxpG9GRzs6S6BRKuwt1SwjmhvbZTBv5e48531V47SqpSEPBugfDfkqvawM67\n 0e/l902eEGDDFWNlqzy3ZMlRbpYcYqTVb0Von5uR/KJ7x9oIF/TEBpD2c8vyPXCa5Oqi\n cji4XBCDvCK34vcAFKSRsz0eaoFz6CGYj6OPL0Y0GCnz6B+If+4rS4zsXrCTMTrescFT\n 8EUw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775159419; x=1775764219;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=OSgi/6xHWb0whuPonStCiD0FCBV64W5QdF3xgEpbGMU=;\n b=WXoTz9QYr0texLW8kBPkvODrGfs0BD0xSdqcFJnyRPfw0LjX8+Vgf3NUgImMyMHRUZ\n 9abICCeK3v25uQs47XieuksUCGbjjdu84Ri/8lrStIgwzrRUd4qzu3+0VybCQkpWh3Ul\n JomYVOLnZIHQ27kr4lLPbGoH+TyGvJ6O6UKH89guRf5unFT1+v3hdnarBaGlS+fX8fLW\n ZX9wn6wkAbQc2V52SivM2j/CGlPSSfRi9FGujuD6cCCUM22z0ont5da1Ivrhz+DEH+TD\n +DGwR8BWzLRL4fKEBNdfQJ3zeBFUsFhS2tIyqWtffAlW/dRXpLAUrFJtvWA4tsH2I01W\n 2U1Q==","X-Gm-Message-State":"AOJu0YyvVunAF2YxwimSMsElA+e5Ta/i5ij9rXtNOhqqOvC01ZgjL9K4\n x7LTLG23UxmEg1s3vGVuZkjSn8V1RcYQN8/ZWMJO0C7bo5yHD/Up0qQYo+QrSfvBJN6QEhMzMS0\n FWzYphdsMue+p4KPoMDqDN1djNqS1cDsgM5Qo+W6Sk8mV+5LoCWbMKinPRDU0wqHx8lXZIBb212\n VgaB4UvGhynKuIxFrBxmc7wO0vvvlXaXyd17w=","X-Gm-Gg":"AeBDievxzWfDvEKZttpvVvd7kunLkilKRzyFJ72hTc+4/9tdt3ZCcMbcSikTGqDyADn\n h9YT5GMjrSKJM+G4VgjfkVeryDffn98kFHcE7MEZGl1MLao5c57dEqn/ynBIxcxQ8c4yuQqFmSZ\n hub5FR0V6PUofWC++xKa1MVdEDJLgwEJCF56ZstZArvZAn/oD5M4SIeqk+aUcZIn901GjUzg8X3\n /f/eg==","X-Received":["by 2002:a05:7300:641a:b0:2cb:da49:7e54 with SMTP id\n 5a478bee46e88-2cbf99ecbf7mr262309eec.3.1775159418760;\n Thu, 02 Apr 2026 12:50:18 -0700 (PDT)","by 2002:a05:7300:641a:b0:2cb:da49:7e54 with SMTP id\n 5a478bee46e88-2cbf99ecbf7mr262289eec.3.1775159418189; Thu, 02 Apr 2026\n 12:50:18 -0700 (PDT)"],"MIME-Version":"1.0","References":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>","In-Reply-To":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>","From":"Andrew Pinski <andrew.pinski@oss.qualcomm.com>","Date":"Thu, 2 Apr 2026 12:50:05 -0700","X-Gm-Features":"AQROBzDWkINkazjk2_uToiuDDr9GDIbwGc9MxqOBBMEdViuv8bYXcnb-5OBuSQU","Message-ID":"\n <CALvbMcBsJj5+T+EYuG3wzXwBWBuTZiKMp2dcAn2k5Bkc0H_yow@mail.gmail.com>","Subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","To":"=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>","Cc":"gcc-patches@gcc.gnu.org, jakub@redhat.com","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNDAyMDE3OCBTYWx0ZWRfX47cLBQn2Q5Jp\n Qj29JJ4hbDD0V7508xdSsojrxhY1XgBukfkF9OaysLbAAiFtq3obu3Pr2OG2sHDzYxzMnMj6GVa\n U2lcR2lnbqLt5D26PFlLM7FdmVyYOQ5TthxWr99myOgZRVslQlkwSNG+NyE3TnJ84mvAF23JZol\n Q7fbpDgDkk2xjVTuUmEQkhOdEFh13ynFWiFPrhVd1EV2dgAvn2JmQ0rkeb9duBe0Can7kM76tLC\n Vicpo6XBIb3ZAMu5JI0sMqRRc9QOyTmeQ/tBwj1nEjQ2fJq6Yp4i9SRF0Gm5seGWSP72w1KSeYK\n g8a7NW1Lkt5QBCYKv54sICDsuN0C3hrvsNBfZA41LrN6g0ITSZsHFmnhfhgXbK+G7K3wnNNeude\n 6xxW9CROdpPAVxeodl7m1KTi3fdnF0PkyVOaAVs9kS2N4pmujCg3kQG615g/hui3HBeKlF9IkPw\n nruXaKTWVwdJg0f/4uA==","X-Authority-Analysis":"v=2.4 cv=PNICOPqC c=1 sm=1 tr=0 ts=69cec87b cx=c_pps\n a=Uww141gWH0fZj/3QKPojxA==:117 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10\n a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22\n a=gowsoOTTUOVcmtlkKump:22 a=8b9GpE9nAAAA:8 a=uqQbwSSx_hyohtV7exQA:9\n a=QEXdDO2ut3YA:10 a=PxkB5W3o20Ba91AHUih5:22 a=T3LWEMljR5ZiDmsYVIUa:22","X-Proofpoint-GUID":"L5d9VgWQSE7_kdhS3ntgrK6YpeFs9ojP","X-Proofpoint-ORIG-GUID":"L5d9VgWQSE7_kdhS3ntgrK6YpeFs9ojP","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-02_03,2026-04-02_05,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n impostorscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 spamscore=0\n priorityscore=1501 adultscore=0 phishscore=0 bulkscore=0 clxscore=1015\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604020178","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"}},{"id":3672928,"web_url":"http://patchwork.ozlabs.org/comment/3672928/","msgid":"<CAF1jjLsW_okffOYV7PHsXALGgF7czd5Wj5zRJuWZ1sq+yFKn8Q@mail.gmail.com>","list_archive_url":null,"date":"2026-04-02T22:47:40","subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","submitter":{"id":4379,"url":"http://patchwork.ozlabs.org/api/people/4379/","name":"NightStrike","email":"nightstrike@gmail.com"},"content":"On Thu, Apr 2, 2026 at 3:29 PM Torbjörn SVENSSON\n<torbjorn.svensson@foss.st.com> wrote:\n>\n> In PR49756 back in 2011, RLIMIT_STACK was increased but it does not work\n> for Windows.  For Windows, the stack size needs to be set during linking\n> and not during runtime.\n> According to some initial testing (have not gone though all failures for\n> my Windows tests yet), I see a large improvement by bumping to 16MB.\n>\n> I'm not sure if 16MB is fine or if we should aim to algning with Linux\n> where RLIMIT_STACK is set to 64MB.  Unless I've missunderstood, on Windows,\n> the stack size set via --stack= linker option is the amount of memory that\n> the process will consume regardless if needed or not, so setting a too\n> high value might have a performance impact.\n>\n> Ok for trunk and releases/gcc-15?\n\nIs this related?\nhttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639\n\nSpecifically, my comment 9:\nhttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639#c9\n\nI remember hitting this problem on cygwin.  I think your commit\nmessage should at least reference the PR so that it gets tied together\nand referenced.\n\n>\n> Kind regards,\n> Torbjörn\n>\n> --\n>\n> This fixes fails like below on Windows.\n>\n> FAIL: gcc.c-torture/compile/limits-exprparen.c   -O0  (test for excess errors)\n>\n> On Linux, maybe also other targets, the stack limit is dynamically\n> changed when the application launches.\n>\n> config/ChangeLog:\n>\n>         * mh-cygwin: Increase to 16MB stack reserve.\n>         * mh-mingw: Likewise.\n>\n> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n> ---\n>  config/mh-cygwin | 4 ++--\n>  config/mh-mingw  | 4 ++--\n>  2 files changed, 4 insertions(+), 4 deletions(-)\n>\n> diff --git a/config/mh-cygwin b/config/mh-cygwin\n> index 1f746bdea84..3be1cfe5dc3 100644\n> --- a/config/mh-cygwin\n> +++ b/config/mh-cygwin\n> @@ -1,4 +1,4 @@\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> +LDFLAGS += -Wl,--stack,167772160\n> +BOOT_LDFLAGS += -Wl,--stack,167772160\n> diff --git a/config/mh-mingw b/config/mh-mingw\n> index f5fb064813f..787719a06c8 100644\n> --- a/config/mh-mingw\n> +++ b/config/mh-mingw\n> @@ -10,5 +10,5 @@ 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> +LDFLAGS += -Wl,--stack,167772160\n> +BOOT_LDFLAGS += -Wl,--stack,167772160\n> --\n> 2.43.0\n>","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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=QFVF9Ulf;\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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=QFVF9Ulf","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","sourceware.org; spf=pass smtp.mailfrom=gmail.com","server2.sourceware.org;\n arc=pass smtp.remote-ip=209.85.218.46"],"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 4fmxpc223Bz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 09:48:22 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id AF3774BA23F2\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 22:48:19 +0000 (GMT)","from mail-ej1-f46.google.com (mail-ej1-f46.google.com\n [209.85.218.46])\n by sourceware.org (Postfix) with ESMTPS id 161214BA23D8\n for <gcc-patches@gcc.gnu.org>; Thu,  2 Apr 2026 22:47:53 +0000 (GMT)","by mail-ej1-f46.google.com with SMTP id\n a640c23a62f3a-b9825ba7f9dso424457766b.0\n for <gcc-patches@gcc.gnu.org>; Thu, 02 Apr 2026 15:47:53 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org AF3774BA23F2","OpenDKIM Filter v2.11.0 sourceware.org 161214BA23D8"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 161214BA23D8","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 161214BA23D8","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775170073; cv=pass;\n b=Xa5Ig7Os7Q6T+amR0XI5hy/uNEcQDZGGu42bs/VK1UmkKe/utvwthlWPXvptGn/uThF1Gq1egHm1uNCKYOgUhGDXPBXPaNtBxGu1z+pIczj2c5Ck7UzTkKNSU2r8mdoN4Xai8yAL3GYXU8ysXa2G7llntpofVORIthJj99ppEvU=","i=1; a=rsa-sha256; t=1775170072; cv=none;\n d=google.com; s=arc-20240605;\n b=B5Hu1egZHyfAVey5o2u9txKkDKSjI8YKJnwR+7cUy4JP/v4mGtqHOalkiJFX0BaqqJ\n SlVCIpMXoH2qi2PyilH3jpxJdNAGlPNqwMCcq7i7gMHwKccmS2FOCZWJCzyNRn+fZzkJ\n QQfuhQCua3zAIMdNnUQ4GtKV5dBhvaTw83alpRe6dB5fCMXP3EkIVdJ15Z16fw9YdIzS\n xXPRVTHOZ/mdL/1qGqeoGivsn0UGPffTJ5h4oh+y6ZxDZPCuT872a7K40RBDb1GtBjmn\n hlXTLkUPghsmKeW/tUob2VBtNrSnDLzH3p+wW2Y6LcXzH8rYBaO29C3BVtEHVJoqgY7I\n 3IuQ=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775170073; c=relaxed/simple;\n bh=Ud1J31upGSj70/OJbN6co6BaH++x+MfBjvWct6zbxqU=;\n h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;\n b=C68fbukrOsRZv6NQ/9idA1s1Feptsofs4gB4LhgwRcbhgrQL1AOJYPVN5Lzlx26SkUuA5hrtgonYzQ5TWlxg40mD8MfOwxG8qIhu6mvQyPsr4X52+FLK7vGlQ9C+TkCKjzmRc8QalVLauzEFrLkIYIdHNTjSddOlgske9//t6uU=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=NDmMKIko07DP6JGivXOLcZOSWfQuhyAHO4OOUqE2hRE=;\n fh=9qWnpuNi7I5Kl/xCYzc46J9JauAPZHrayKXC6cv9FC4=;\n b=U7c7tx5BcJnliWaq9e/9Dskho1nroAGJwjhYp5qytq9DvrgYeBTTQdXMu1ijsn8fVu\n ljcnWCqrRVB1HZYGPGy/ukZdN35UUVQ+zCzkIXJzN5VCs3cOTpGPvS098q/ZBtDL7H8R\n 52jvtEAuvtd4x48Czds7sITrOLF79sVki41z4Z6ea9tGPMnU9ijJa55+nLwQaFSkcXio\n DhmSpE2GdINZJg1G6P/WwLNu7BgH7qjOUZuDP7lTtyAyxDB9kyzqhIB0r6UghRakcadI\n mOcawJbThD4QXx2kh1xYbzlN3/Yo0R/rkYNfo0QsMa/pt7CUPaQwkuNJxmLpnhDnbccL\n c+gA==; darn=gcc.gnu.org"],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.google.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775170072; x=1775774872; darn=gcc.gnu.org;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=NDmMKIko07DP6JGivXOLcZOSWfQuhyAHO4OOUqE2hRE=;\n b=QFVF9Ulfq3aviv8FrHWYHBBEVyTVz2g3MQjYFRaz5fZ0q6ERbiZaVV5tjaeyiMGWjv\n IJqh/TeihRwNcjdnSDrIapcSkSj+MA3filviBP9Xfe+X9pB9N/bM2VBUii3jZDwnSexU\n wAgbteAzDcb4bH/9L10dTKRUWKLfb2v5BjzGDFA2Zk2Vy9eTwu304N7bLw3gw+iHCo/3\n cd5jfLJXiAatx32bBHxwk1ApgCmSCiqRkOz1nucR2OVZhDclMHmKtmSVODfSde4Ix8xv\n trvLLBAbHOGf66Ykl9A/2wy955hZrdvPJH5YAcTv1Yf8+NIuoOcfeoBejEnBCrAesWCh\n /evw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775170072; x=1775774872;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=NDmMKIko07DP6JGivXOLcZOSWfQuhyAHO4OOUqE2hRE=;\n b=hA69p2vTFeyg9uGR538t5RKmpaQm092/x35+0Vh8nqOUttOFCxzPw44OEqAv7Pu7jC\n rfOcZZfnF3nd/A6ZSLvTPdD0fpwdkwllENTnQTn/DnCTD1d6ajQ6fJ53oiz/OKGTjmXe\n r0KYVDYcoeXx6DDfdSgsSMSuYNNoyZjrxM2qZ1X3xqohqBNfAVgoB7NmstxI63fd2Brz\n OqN/JRjJ6sTmdy5yPCj45TOhkqmbh0zrnHSaE3Efk3Q05JLHga9H0FO4DKuI76qcC0YT\n h45rVjnbqhfKCDDVdWUyEVUnYWEobxXc6iFfuFtX7/7A3x9RmArsvNv5c6uKJOwPij+Y\n PaxQ==","X-Gm-Message-State":"AOJu0YxnYlm4w5KA+th62Jn2JbGwqiXt2w5Ll1Zueapxp/Fh1grMdI2s\n fNNlhaifsq6nely9+RC/buEP4OAseM+Dl4XaE9F88taDm6Ng6tAI0zfNxPHX2bzUk6jNkUmI5Wf\n 9Xm3dBvuAoDCeeH+3+SqlLbT4LoyBHPUbA3du4nI=","X-Gm-Gg":"ATEYQzxz0Bvad8y+IBGbZX07XhM24OoNXvP12cPSfX32EdAncwc1sjO1oqVwWrxKlCi\n hhwYv9YoY6i9ix4PFoXJwxLjTrmx2oNiu+IYVncvJwHcLMQE/vg3M7ixvXISDehb2BFiC7DhZcJ\n fwXcLoV2MvPBjhUj/udR94eGHwyH3Ien8hCQkQj5qBW1Tilz8JjKfrYR7H78fQj2NSThmQdFL1h\n HKlACZ/RNZ+/kNGKbPSY+F4XyjzNHQhtJ2be1XlLx1cOUHPmLINcV57xt27hJhPBT6nUWJ0/0+2\n OIrQ6b/JAVEzLh1gCOHXxEBxsU9sGJJ3KRfXlj2vfg==","X-Received":"by 2002:a17:906:6a0b:b0:b98:14e:32c0 with SMTP id\n a640c23a62f3a-b9c46e585d0mr195356666b.14.1775170071750; Thu, 02 Apr 2026\n 15:47:51 -0700 (PDT)","MIME-Version":"1.0","References":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>","In-Reply-To":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>","From":"NightStrike <nightstrike@gmail.com>","Date":"Thu, 2 Apr 2026 18:47:40 -0400","X-Gm-Features":"AQROBzBYNFCGO8ufqTdUkwFItFq-QdTMa9vsWcyxc13LcZc5WDjtDNlF1dS0Wi4","Message-ID":"\n <CAF1jjLsW_okffOYV7PHsXALGgF7czd5Wj5zRJuWZ1sq+yFKn8Q@mail.gmail.com>","Subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","To":"=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>","Cc":"gcc-patches@gcc.gnu.org, jakub@redhat.com","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","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"}},{"id":3673013,"web_url":"http://patchwork.ozlabs.org/comment/3673013/","msgid":"<019c953d-d8a5-469a-950d-58945edf1792@foss.st.com>","list_archive_url":null,"date":"2026-04-03T08:10:40","subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","submitter":{"id":84848,"url":"http://patchwork.ozlabs.org/api/people/84848/","name":"Torbjorn SVENSSON","email":"torbjorn.svensson@foss.st.com"},"content":"On 2026-04-02 21:50, Andrew Pinski wrote:\n> On Thu, Apr 2, 2026 at 12:29 PM Torbjörn SVENSSON\n> <torbjorn.svensson@foss.st.com> wrote:\n>>\n>> In PR49756 back in 2011, RLIMIT_STACK was increased but it does not work\n>> for Windows.  For Windows, the stack size needs to be set during linking\n>> and not during runtime.\n>> According to some initial testing (have not gone though all failures for\n>> my Windows tests yet), I see a large improvement by bumping to 16MB.\n>>\n>> I'm not sure if 16MB is fine or if we should aim to algning with Linux\n>> where RLIMIT_STACK is set to 64MB.  Unless I've missunderstood, on Windows,\n>> the stack size set via --stack= linker option is the amount of memory that\n>> the process will consume regardless if needed or not, so setting a too\n>> high value might have a performance impact.\n> \n> So the comment in mh-cygwin/mh-mingw is not matching what is done\n> currently. Since you mention the default is 64MB on Linux and it says\n> \"Increase stack limit to a figure based on the Linux default,with 4MB\n> added\".\n> I am thinking we should change the comment to mention 16MB and the\n> default on Linux at the time of commit was 64MB.\n\nThe default, at least on Ubuntu 24.04, is still 8MB.\n\nWhat I was saying is that for GCC on Linux (and other posix systems?), GCC sets the limit to 64MB here:\nhttps://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/gcc.cc;h=43b0158ee02b58f3392cbc79cf7cb32af830b95d;hb=refs/heads/master#l8426\nhttps://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/toplev.cc;h=682459220a20c2a2119c6f2de519792de6a32936;hb=refs/heads/master#l2304\nhttps://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libiberty/stack-limit.c;h=3a505238d06bf3ef97930481ff18409d73c93e24;hb=refs/heads/master#l60\n\nAfter reading a bit more, it looks like the -Wl,--stack= linker flag only affects the reserved amount of address space and do not actually consume RAM.\nMaybe it would be better to jump straight to 64MB to have it aligned?\n\nLet me know what you think.\n\nKind regards,\nTorbjörn\n\n> \n> Ok for trunk and 15 branch, with the comment updated in both files.\n> \n> Thanks,\n> Andrew\n> \n> \n>>\n>> Ok for trunk and releases/gcc-15?\n>>\n>> Kind regards,\n>> Torbjörn\n>>\n>> --\n>>\n>> This fixes fails like below on Windows.\n>>\n>> FAIL: gcc.c-torture/compile/limits-exprparen.c   -O0  (test for excess errors)\n>>\n>> On Linux, maybe also other targets, the stack limit is dynamically\n>> changed when the application launches.\n>>\n>> config/ChangeLog:\n>>\n>>          * mh-cygwin: Increase to 16MB stack reserve.\n>>          * mh-mingw: Likewise.\n>>\n>> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n>> ---\n>>   config/mh-cygwin | 4 ++--\n>>   config/mh-mingw  | 4 ++--\n>>   2 files changed, 4 insertions(+), 4 deletions(-)\n>>\n>> diff --git a/config/mh-cygwin b/config/mh-cygwin\n>> index 1f746bdea84..3be1cfe5dc3 100644\n>> --- a/config/mh-cygwin\n>> +++ b/config/mh-cygwin\n>> @@ -1,4 +1,4 @@\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>> +LDFLAGS += -Wl,--stack,167772160\n>> +BOOT_LDFLAGS += -Wl,--stack,167772160\n>> diff --git a/config/mh-mingw b/config/mh-mingw\n>> index f5fb064813f..787719a06c8 100644\n>> --- a/config/mh-mingw\n>> +++ b/config/mh-mingw\n>> @@ -10,5 +10,5 @@ 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>> +LDFLAGS += -Wl,--stack,167772160\n>> +BOOT_LDFLAGS += -Wl,--stack,167772160\n>> --\n>> 2.43.0\n>>","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=oCE80FsQ;\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=oCE80FsQ","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.26"],"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 4fnBJH0vCGz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 19:11:26 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 490624BA23C3\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  3 Apr 2026 08:11:19 +0000 (GMT)","from DB3PR0202CU003.outbound.protection.outlook.com\n (mail-northeuropeazon11010026.outbound.protection.outlook.com [52.101.84.26])\n by sourceware.org (Postfix) with ESMTPS id 4A4E94BA2E28\n for <gcc-patches@gcc.gnu.org>; Fri,  3 Apr 2026 08:10:49 +0000 (GMT)","from DB3PR08CA0024.eurprd08.prod.outlook.com (2603:10a6:8::37) by\n GV1PR10MB6327.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:5f::18) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9745.28; Fri, 3 Apr 2026 08:10:43 +0000","from DU6PEPF0000A7DE.eurprd02.prod.outlook.com\n (2603:10a6:8:0:cafe::c6) by DB3PR08CA0024.outlook.office365.com\n (2603:10a6:8::37) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.18 via Frontend Transport; Fri,\n 3 Apr 2026 08:10:43 +0000","from smtpO365.st.com (164.130.1.60) by\n DU6PEPF0000A7DE.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP\n Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9769.17 via Frontend Transport; Fri, 3 Apr 2026 08:10:42 +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, 3 Apr\n 2026 10:13:24 +0200","from [10.252.29.118] (10.252.29.118) 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, 3 Apr\n 2026 10:10:41 +0200"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 490624BA23C3","OpenDKIM Filter v2.11.0 sourceware.org 4A4E94BA2E28"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 4A4E94BA2E28","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 4A4E94BA2E28","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775203850; cv=pass;\n b=YMGLLm/9NmUY0jC3ktfhbM24XYzndopZ7oWD/nuWWp3+wnAKshEMVQhd0A83x4ZEmk1Pk9bJooXqkVFEQ5f1VIDgU4XLR1mn3DVzMGmbvl2F9c7uFZ0VJCJizEX+BgOcYQ1KMjL5SwqyseIHZY1gme/FZpvdEA3BFJW8XGpq2pE=","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=ihdjETazJVRQEPTenmbmFB40jL//U3iWDG2y0BBHNtygGDlUGQGLG+ycOgWONxyczZhS8G8iX4sgZJx+oUZHUXq5c9/vK1HHS4R/iqMKPO+2d9IrG21E7ouRi9VL+DvYCacD3foG74/JsCD5vcGIlifmdiblj/Qr9Q0YrhXjgdFC1f4ynNRvblDrzqPDns471xVvGTYeCfCZarE2Si9SusizE+gNKfOrm+N+xf4lnchaRAA7xZaHRX5agDsS4cSi6hnxaw0Lt93lusCfHNN5XSAQbbz+vBb08vwEdlKiDTlZdTT+DykBUroGAoKeYdB1s3q7RumP5G8GcedPkFuVyw=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775203850; c=relaxed/simple;\n bh=GTEaIXoLIHzSy2mKQH0SVSDkXX+n/D39dWdHIEf6R74=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;\n b=TN3fqbSnxsRud1yD2mh8fZCnDhCxbHaPg1FOM8AFENsKI2dW8kkn+9aZ/KV1xYWwLLULtFzww3y6c8vtXd4L/T/qIoVPvIWD9LTfCDZpyhXqgfNqqxcZRusHH8+awC8zkEQKQn0h7feNJysMJc8RE5ubD7UNqQ92yO5kL2TjONU=","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=7KgafLIzjDlZBru+8QRMXCwYCkpjGO3ffB3cY4cwpRM=;\n b=J1QZTHekBpukJzClx4SLvWoqim881K27lYEnnbUVs4Ob/RlMa/BSvEnb2B+v6H1VTU55SF36X04rJA/3djVDJ3hJHZYWSnPE5MAXLVYnGmvwm3DQ/fuKkNvIu4fF7yWMMV+r42qb+z266l606L/IxOBbRUdtLOslcEJ15i49FkKZz7ehBYVQ1PNBfSpiHUqecizeSmJguBldVoXKpA12jOpT3+u51fJBafgQxTHVrRBKO6zpw3/1L6vgJ49sn/kU2rLUzK7llva48bMaFPlOUbKFLBhfFfCkuHLzJUh5oN/JYh94ZeuqXkMddgfwnsqXFDbK1gKBRHfu/65Q21yxvQ=="],"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=oss.qualcomm.com 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=7KgafLIzjDlZBru+8QRMXCwYCkpjGO3ffB3cY4cwpRM=;\n b=oCE80FsQJVjMdLtdmpm4DXn7UIta3Sh38taAc0pDDmKTsbiY/olQ8Fp7JaZO0oKTmkdFs2rqZsvvB1RDIAGowjMrcXEL5MQ7rhZPEXzj1wcryITVLaLH3leGW6TrN+nycSyu6VPJuQmnarLkY8y5GVEa9DjQeS8HzvkVwSegM5cQuPw9XS9mCZNWKWsKFAWegczr0TBAO7qlMn5cZBjWBk8Z8TuzXN3GAWkl7R0fEPjd68n7htag/UVW49rO57JYtqLi5FkhQUID8/ByQ5MLPuKfwBFnjmJtbXYEsg9/X1RmVvPWFGintjx/CaALpKyH0qrhXfj/9Q92oJReRkRE5w==","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;","Message-ID":"<019c953d-d8a5-469a-950d-58945edf1792@foss.st.com>","Date":"Fri, 3 Apr 2026 10:10:40 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","To":"Andrew Pinski <andrew.pinski@oss.qualcomm.com>","CC":"<gcc-patches@gcc.gnu.org>, <jakub@redhat.com>","References":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>\n <CALvbMcBsJj5+T+EYuG3wzXwBWBuTZiKMp2dcAn2k5Bkc0H_yow@mail.gmail.com>","From":"Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>","Content-Language":"en-US","In-Reply-To":"\n <CALvbMcBsJj5+T+EYuG3wzXwBWBuTZiKMp2dcAn2k5Bkc0H_yow@mail.gmail.com>","Content-Type":"text/plain; charset=\"UTF-8\"; format=flowed","Content-Transfer-Encoding":"8bit","X-Originating-IP":"[10.252.29.118]","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":"DU6PEPF0000A7DE:EE_|GV1PR10MB6327:EE_","X-MS-Office365-Filtering-Correlation-Id":"f336a120-03bd-42c2-d7a1-08de91588025","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"BCL:0;\n ARA:13230040|376014|36860700016|1800799024|82310400026|18002099003|56012099003|22082099003;","X-Microsoft-Antispam-Message-Info":"\n 6hClor0kLc00zqOwkUZxc/jwia9ABe4xLOO8dAUpfMa96R/5KSH7CZFApKfEMGxXz4pWRopzWq6MwUCnoluQyGKwsHjrsyEOQZbDXRxcdJssi3vApLMmG0caf1Q85g+W76pWCrJRoB5ctusspKb1xm5QbRbOPcUAB5VBZQ8n+ioj3LAK5K/mcQV3HiJbKaeQwjlKTk1yILEnE6OiKBJMNwz9rxbIej7B+Tl5wZjj/+zvhPZAB7cVxXcXI3wtY2LDGbPplHDkJnkGhhdhsgnY8Fdns/oeJZgBfv0nRJlFcQsgjng+NgIWjUJNkoPHLxGb8khnOMiCarYUaiJSLH3aElNiqQ5zVs9j34bF++LCvEuNZhhASeTk56x7VA/hNBX1FM5lNg0Qw/NOFeg3TC1Qdx/P3YtEjia78aXnJfMmzZU+Kb4+MCYZQC7+XD6oyiPlG9IiTtPtbUBQPpZOV5eK6cFfQXoPudAAiOyPMC+JiJoM1r3A+t5wHA/aE4CejXp8mN/WlKp44YIRj15FnpdDo24XL7Uy5wJsug1jlEcwISm7oRyhfNv9O4cjZWZQ9YyJXJnBjXrWmPFg94cYxGTC63w9J3zaxk0RxZem3NoR8QTvqlnZ8DPEkmZgHggIW6uZdp5QHgfm2LJzOP/n4wdx1MtuXy1rYnnUP6o8KNJUMS60AcyVrgWWlYwLqm6lRxuPhFFO1QFmDMaqcy/I4zptEJ5KGxznw32mgyxk5TrFQl6GJscA9KCBHw40iIJIMA3iN8ZsgCOncN0yGHOPXCYpNA==","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)(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 GDa0klN1YuQPcQmUg4sHt1c++iOzyitQNtyTT8KUZ7YxASUAfFU51yxY40RR+8nkbgtbMZpx9RNgZ8wMxBkhm7XYVX2LiWuNTSf6UoUQ7a5ypYKhqL90L6go1tLDOX9jqSl7lzzdVdJ7SYIbRtOphdNiHEg7lKyQ+CowtW8Tdl0mQzf43XXq/ZO+6mICcW4binUwDZb6pEPJDf7Hha0FT39K7kYH4NDhhJ/DYHyebtMK5NC7MOYy6rNVfEKDyroJCxLZHpLtSPORspjXmw7wWA8JfSeLNLK3rTvpu5GJtRWY76q6oJGFS3u25fkb8AZ3Au9Fa98twZjxXW2KIovgckavJD6ofpI0fJcdoQHhuTC4vql1MQvPJiGmRIL+nQJ8g+1e17uzO7o8HTVH7PzZHySHVLCCPR16ehpCM1Khn9doegQzwf2+A6ANKUc+wiim","X-OriginatorOrg":"foss.st.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"03 Apr 2026 08:10:42.5200 (UTC)","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n f336a120-03bd-42c2-d7a1-08de91588025","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 DU6PEPF0000A7DE.eurprd02.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Anonymous","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"GV1PR10MB6327","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"}},{"id":3673016,"web_url":"http://patchwork.ozlabs.org/comment/3673016/","msgid":"<2704d2ab-9b1d-4d78-b0ff-c025a2c5286f@foss.st.com>","list_archive_url":null,"date":"2026-04-03T08:13:01","subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","submitter":{"id":84848,"url":"http://patchwork.ozlabs.org/api/people/84848/","name":"Torbjorn SVENSSON","email":"torbjorn.svensson@foss.st.com"},"content":"On 2026-04-03 00:47, NightStrike wrote:\n> On Thu, Apr 2, 2026 at 3:29 PM Torbjörn SVENSSON\n> <torbjorn.svensson@foss.st.com> wrote:\n>>\n>> In PR49756 back in 2011, RLIMIT_STACK was increased but it does not work\n>> for Windows.  For Windows, the stack size needs to be set during linking\n>> and not during runtime.\n>> According to some initial testing (have not gone though all failures for\n>> my Windows tests yet), I see a large improvement by bumping to 16MB.\n>>\n>> I'm not sure if 16MB is fine or if we should aim to algning with Linux\n>> where RLIMIT_STACK is set to 64MB.  Unless I've missunderstood, on Windows,\n>> the stack size set via --stack= linker option is the amount of memory that\n>> the process will consume regardless if needed or not, so setting a too\n>> high value might have a performance impact.\n>>\n>> Ok for trunk and releases/gcc-15?\n> \n> Is this related?\n> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639\n> \n> Specifically, my comment 9:\n> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639#c9\n> \n> I remember hitting this problem on cygwin.  I think your commit\n> message should at least reference the PR so that it gets tied together\n> and referenced.\n\nI did skimmed that PR a bit too fast yesterday and missed your comment. Anyway, I'll add a reference.\n\nKind regards,\nTorbjörn\n\n> \n>>\n>> Kind regards,\n>> Torbjörn\n>>\n>> --\n>>\n>> This fixes fails like below on Windows.\n>>\n>> FAIL: gcc.c-torture/compile/limits-exprparen.c   -O0  (test for excess errors)\n>>\n>> On Linux, maybe also other targets, the stack limit is dynamically\n>> changed when the application launches.\n>>\n>> config/ChangeLog:\n>>\n>>          * mh-cygwin: Increase to 16MB stack reserve.\n>>          * mh-mingw: Likewise.\n>>\n>> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n>> ---\n>>   config/mh-cygwin | 4 ++--\n>>   config/mh-mingw  | 4 ++--\n>>   2 files changed, 4 insertions(+), 4 deletions(-)\n>>\n>> diff --git a/config/mh-cygwin b/config/mh-cygwin\n>> index 1f746bdea84..3be1cfe5dc3 100644\n>> --- a/config/mh-cygwin\n>> +++ b/config/mh-cygwin\n>> @@ -1,4 +1,4 @@\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>> +LDFLAGS += -Wl,--stack,167772160\n>> +BOOT_LDFLAGS += -Wl,--stack,167772160\n>> diff --git a/config/mh-mingw b/config/mh-mingw\n>> index f5fb064813f..787719a06c8 100644\n>> --- a/config/mh-mingw\n>> +++ b/config/mh-mingw\n>> @@ -10,5 +10,5 @@ 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>> +LDFLAGS += -Wl,--stack,167772160\n>> +BOOT_LDFLAGS += -Wl,--stack,167772160\n>> --\n>> 2.43.0\n>>","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=OhOo1YAw;\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=OhOo1YAw","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=40.107.130.15"],"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 4fnBLs5ywgz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 19:13:41 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id CEF744BA23C3\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  3 Apr 2026 08:13:39 +0000 (GMT)","from MRWPR03CU001.outbound.protection.outlook.com\n (mail-francesouthazon11011015.outbound.protection.outlook.com\n [40.107.130.15])\n by sourceware.org (Postfix) with ESMTPS id 0FBFC4BA2E06\n for <gcc-patches@gcc.gnu.org>; Fri,  3 Apr 2026 08:13:10 +0000 (GMT)","from DU2PR04CA0177.eurprd04.prod.outlook.com (2603:10a6:10:2b0::32)\n by PA2PR10MB8680.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:425::16)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.19; Fri, 3 Apr\n 2026 08:13:04 +0000","from DU2PEPF00028CFF.eurprd03.prod.outlook.com\n (2603:10a6:10:2b0:cafe::4) by DU2PR04CA0177.outlook.office365.com\n (2603:10a6:10:2b0::32) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.31 via Frontend Transport; Fri,\n 3 Apr 2026 08:13:04 +0000","from smtpO365.st.com (164.130.1.59) by\n DU2PEPF00028CFF.mail.protection.outlook.com (10.167.242.183) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9745.21 via Frontend Transport; Fri, 3 Apr 2026 08:13:03 +0000","from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com\n (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 3 Apr\n 2026 10:16:02 +0200","from [10.252.29.118] (10.252.29.118) 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, 3 Apr\n 2026 10:13:02 +0200"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org CEF744BA23C3","OpenDKIM Filter v2.11.0 sourceware.org 0FBFC4BA2E06"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 0FBFC4BA2E06","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 0FBFC4BA2E06","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775203990; cv=pass;\n b=LRCWnNbof5Y/Fuctk7TfNC9xX5v4hln1NP65pZhXrG2zp8b05u6qP6PT4ZBuyvULL28tyHFxwSq+9LEFXrKKVup6Omn3GW28XOEOLZJHI8cM2rjpn4vFlExWhXvlX5RmLUyuez8scAjwL1K/yDtZ0CdybidCE0RaTaAAlG8tYtg=","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=pL0QvkMZdyu96dheURBIQLLDDyv4drSogMebP3mS9hFzH43dQlVuKURNjGo3mfjkVCund92s83nG2ifqfUHGpMHWqsu9FqZWa2oloC2ZyrpAcOo9zqZyx9fPT1kZgdEQvIRR+wyIZIep7N4o3nDBEo31DpEazehF7wxOSsbbpuiNLOqA1PSLQ6ZNw8PImWuLXEtzLjOonz6tNqgWSRqqG/AEKlcE8rh7DEN/OHSTm+QZJbon+FQzfrOlFHE9sGbJmlJBdDltyOSN6duh9FsPlRybnjfq8PtZRf3ZJf/pva+4bgneMg+VJsBol6XJBVR8XRD1p/sFSK8+w3nQHk/j7g=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775203990; c=relaxed/simple;\n bh=TRuh3p3JJdCBDHRBMFKTrWPEVd8OYjPPmuY4vsOV39E=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;\n b=du3c44T/JkMwJcjq5x4SRIlAGvR43O7oD7Wn7XTgoqZ5jJxdsifh4gCOWwRkX83k2S22mJBXmmtpSGLCKPDIaQWwWrlcjLstsRk1/a0qxBWFxf7YWS/ydLL0PypJa02nMj0DJbC/AevMAPD3hjbGUqDT1sj2FwOZj1ZECdFA5rk=","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=b2STKLDLCe4DEF13Uzbe2MaLPSlY7wAGF6wzj7Ng4Lg=;\n b=eGWRdJHXWNuwTSk3IP390fGYwwBc1SM1ibeV14mEzseisR0t2kg/dWmPbLda4xTBuKJ8eSGTv8P/h27G1k16LLo6ixILfguLOAsFEYY/cO8KXRg9JW1sTVN4CSs8JZEfbaEyKHShlEQJhcPN1edZaZJl10zUHtTdQdaLbyYeve7sxKWneY4AxJlbILxUQZ4QmxkueKzNL5tTA2zlW5iPGKlb4EVN5exC0wDRG58WpLEvuiwpB3Ezpi7YzDYGxpGsatPGVb9eiWKnGgf92SCgNk0WtjFU2YwLNqC3bBYTmGXDDkckLR3lWpJ0hne3yVtVEfhm//ozLqL0W3u70AxY1g=="],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.microsoft.com 1; spf=fail (sender ip is\n 164.130.1.59) smtp.rcpttodomain=gmail.com 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=b2STKLDLCe4DEF13Uzbe2MaLPSlY7wAGF6wzj7Ng4Lg=;\n b=OhOo1YAw7IxVykF4eKASuu6I8VKxrV/rUdt/yIsoNWBwVZvrVVZd/W7v8v85aGP3A0UJ659VSzHEYKz8aedz7gk3vbmEsOv7AyHCm1VH/OiQvwn24HhAG64DdsynfjrSA2P2klozEQgJRzGqnqk+jCFkX+m5U+NFuXyF6cjbcU06l3QLvIvIUUyfGFFTzwHOwwbV1ie1F5tv8a1TUb4ROTCRcxxexHx9CxqF/FVnqWK0L6uAPS9h5c7m9/J1Dzij/bfK8PMtAjE1AC/PPuinlTfHKu34gIPfFRBdtlhNtNkGjyYFlnb4LEtgg6srzzulr0x8lQ0cR2dblUldluZX7w==","X-MS-Exchange-Authentication-Results":"spf=fail (sender IP is 164.130.1.59)\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.59 as permitted sender) receiver=protection.outlook.com;\n client-ip=164.130.1.59; helo=smtpO365.st.com;","Message-ID":"<2704d2ab-9b1d-4d78-b0ff-c025a2c5286f@foss.st.com>","Date":"Fri, 3 Apr 2026 10:13:01 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","To":"NightStrike <nightstrike@gmail.com>","CC":"<gcc-patches@gcc.gnu.org>, <jakub@redhat.com>","References":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>\n <CAF1jjLsW_okffOYV7PHsXALGgF7czd5Wj5zRJuWZ1sq+yFKn8Q@mail.gmail.com>","From":"Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>","Content-Language":"en-US","In-Reply-To":"\n <CAF1jjLsW_okffOYV7PHsXALGgF7czd5Wj5zRJuWZ1sq+yFKn8Q@mail.gmail.com>","Content-Type":"text/plain; charset=\"UTF-8\"; format=flowed","Content-Transfer-Encoding":"8bit","X-Originating-IP":"[10.252.29.118]","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":"DU2PEPF00028CFF:EE_|PA2PR10MB8680:EE_","X-MS-Office365-Filtering-Correlation-Id":"9abb566b-d5db-41c6-c0ed-08de9158d46f","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"BCL:0;\n ARA:13230040|82310400026|1800799024|376014|36860700016|13003099007|18002099003|22082099003|56012099003;","X-Microsoft-Antispam-Message-Info":"\n FrlNe9P9t3YNX4C/rlBrJXUBpCbCWU5VeW9nUo2X6JEGcD+Z5JKz9nFnUxa2YY5m3i+SAjKyxjXjkwAuo4MTp+pgwIy8Ex5tOvXTYwbMCY+6lYtZ22GNX6MV+qL8wn0K0mU4RsijF8fC+y13iKiYP3mBmkO78cd3AKLVDQtaEJUtTdWTyh1JScEfeDiYrwbzAwwfi02pz0ubMsZomIpJvqkIXcmXnWkeC5zpJCz78GzM88fJaLvBWkLp7Ayo434rnhhRiKt41/hUzE6Sh4tDhAsV0G0xl7cVxVntfn7VHZk2ivzzVswKSuKX4tZLcFAanjvmVtzJ+5FZB05y+v+bo01sihR85nhYlezq9w5DuHIS8Mrp8Jf5/NtV4qRdAeuX4fSWFipyigpXIDK1IBdw4Oq0KM+5VmkVFCFVvxvx+eQ4/zwUIicq6NnP1rHoeGqyk/5HnsGLz41fW0pUJ/uIZaox3WCmRjytizuNR8vSqdfIh97lXnUMbGfWcvAIVLCecQZ9blJG+zoSPR7Sl+DmimbfEAdXdYMydpXLdUXn/ESYrpCDB6PBc6SAlWq64C9u8An7+sya/wCcjGM6KqnDUx1ffvaL0YuF3Cm2GluJNLyPF7iY7NWVZgZezK5kC/1pjjA3h5fB8ljR0nkRKYsiMvGgqRR5/IojnYl18fcSD/KS5k+SCNCPOR8HP8L108lXCmVDbEsUJudkXb7PRCWjiJ69TaOkzjT89UnGlD8OUQMskmuNf+LOp2LLY/Qe+/wt1Y8Kq6CxD2Gil9dw4OLE1A==","X-Forefront-Antispam-Report":"CIP:164.130.1.59; CTRY:IT; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:smtpO365.st.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(82310400026)(1800799024)(376014)(36860700016)(13003099007)(18002099003)(22082099003)(56012099003);\n DIR:OUT; SFP:1101;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"\n umMMVx+0Jfc2UUYK+wGe8zswzaSTrnd2TZ/+5qMHfo7G/0I9gUX6AzGtp/EPze+LrHT7nnDiXWC8t01/L/lE2hV59In84mIAg0cnxYMrJJRasDpzmWmisHO5alyZttWA7L7MWGkU/jMK11M9ubmpzsCE5yF7QanX1sSG2XEFMG0krKYDl5sghFljjYdXlaYQR7oCGZMGV7vo5oZt5m9jLKvQHC0sn9shT9z4NUOOrA+8cP0VxGuVIMLT+Hy0xYQLtHfzN43V7kpXOzAMTKdk+dJ4LmE+cJI6/p9DCGYzuYFIwJ05m/o6uzKSilv8xN4/GUBzo2j9txi5BwDRxSCbYG6jA5k7vwbIpZiKiN2XdZnHYpbVxFIRc2JfLqn7RmHikO6FObmoLgXNl1id+M9siaMpOna6tRiQmwbYiNX6T3qDmZxbPSiHerxi2qKGzDRQ","X-OriginatorOrg":"foss.st.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"03 Apr 2026 08:13:03.9261 (UTC)","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 9abb566b-d5db-41c6-c0ed-08de9158d46f","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.59];\n Helo=[smtpO365.st.com]","X-MS-Exchange-CrossTenant-AuthSource":"\n DU2PEPF00028CFF.eurprd03.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Anonymous","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"PA2PR10MB8680","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"}},{"id":3673186,"web_url":"http://patchwork.ozlabs.org/comment/3673186/","msgid":"<CAF1jjLsXGRQTH0rvczyOWod89KnUJ5wEYKQEsGQ6NU8pK_bpZw@mail.gmail.com>","list_archive_url":null,"date":"2026-04-03T15:48:59","subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","submitter":{"id":4379,"url":"http://patchwork.ozlabs.org/api/people/4379/","name":"NightStrike","email":"nightstrike@gmail.com"},"content":"On Fri, Apr 3, 2026, 04:13 Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>\nwrote:\n\n>\n>\n> On 2026-04-03 00:47, NightStrike wrote:\n> > On Thu, Apr 2, 2026 at 3:29 PM Torbjörn SVENSSON\n> > <torbjorn.svensson@foss.st.com> wrote:\n> >>\n> >> In PR49756 back in 2011, RLIMIT_STACK was increased but it does not work\n> >> for Windows.  For Windows, the stack size needs to be set during linking\n> >> and not during runtime.\n> >> According to some initial testing (have not gone though all failures for\n> >> my Windows tests yet), I see a large improvement by bumping to 16MB.\n> >>\n> >> I'm not sure if 16MB is fine or if we should aim to algning with Linux\n> >> where RLIMIT_STACK is set to 64MB.  Unless I've missunderstood, on\n> Windows,\n> >> the stack size set via --stack= linker option is the amount of memory\n> that\n> >> the process will consume regardless if needed or not, so setting a too\n> >> high value might have a performance impact.\n> >>\n> >> Ok for trunk and releases/gcc-15?\n> >\n> > Is this related?\n> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639\n> >\n> > Specifically, my comment 9:\n> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639#c9\n> >\n> > I remember hitting this problem on cygwin.  I think your commit\n> > message should at least reference the PR so that it gets tied together\n> > and referenced.\n>\n> I did skimmed that PR a bit too fast yesterday and missed your comment.\n> Anyway, I'll add a reference.\n>\n\nThanks. At least I think my comment 18 agrees with your proposed change, so\nthis might even go so far as to be the actual fix for the PR.","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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=ZkNmXPjN;\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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=ZkNmXPjN","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","sourceware.org; spf=pass smtp.mailfrom=gmail.com","server2.sourceware.org;\n arc=pass smtp.remote-ip=209.85.208.43"],"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 4fnNT34YlYz1yCt\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 04 Apr 2026 02:49:42 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6D6404BA2E3D\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  3 Apr 2026 15:49:40 +0000 (GMT)","from mail-ed1-f43.google.com (mail-ed1-f43.google.com\n [209.85.208.43])\n by sourceware.org (Postfix) with ESMTPS id 794C64BA2E28\n for <gcc-patches@gcc.gnu.org>; Fri,  3 Apr 2026 15:49:11 +0000 (GMT)","by mail-ed1-f43.google.com with SMTP id\n 4fb4d7f45d1cf-65c4152313fso2741296a12.1\n for <gcc-patches@gcc.gnu.org>; Fri, 03 Apr 2026 08:49:11 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 6D6404BA2E3D","OpenDKIM Filter v2.11.0 sourceware.org 794C64BA2E28"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 794C64BA2E28","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 794C64BA2E28","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1775231351; cv=pass;\n b=bzbaIhRpgPPRD+8koDwFnkTfPOSQYKOIZltSfxxAUHZgcocpHJXL1mqPH3eC1zSXc3H8hw6nBwfgJBVgyYMAfa1aUY62fkQElPH1gpCeYLA1/ZrsvtAwbr/C3t2zxONl5B2XJdM2VuOwbVSzwqYpATwZjQjLP+7T9u0+2zrao94=","i=1; a=rsa-sha256; t=1775231350; cv=none;\n d=google.com; s=arc-20240605;\n b=FqVtrIn51aEvBbloT5fN9zfqhYuS76d+TcMHqUcSauW5ZDBU6NWFS54nOKT7wGPGw8\n R0nAza7K1iYLHlJzNKUtjg58zylR60DCMPFxp58YRAmp1A+RmKsBmdMQpWKR7eSaPWfD\n oodbAfbZD7MMaPNKt7K/lY9laUHV7Gvt5zKnkd3R7BHEMft6dfULrm2OhFKL7R+4b3gm\n wJnabwzdTyghF8QTvoAY1ec7zHwL1pduC0L+RvUNAysZMX47+2VeEia3HiQXWw/rDUGW\n nJYiK8GeFxJpD+MQxWvO3f4MlbBGqsaolenvkUncoUkyBMo71hHMTXNQvpivCQ4Fj4b6\n MOaw=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775231351; c=relaxed/simple;\n bh=AKO1nkwS/niYyGESW8LsqIL+BQ15mwVBayWoGUZ5Rs4=;\n h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;\n b=jGFyJALWrYIA4X4kS+h1vFFn4F9Uo535PkCElMLwDHNyFnEysUb07ZdLbFls0bta3J/R6gGBJayfsaZ+NHpt0WdRb7AeRhUAKcWzuwiXRQ05LClM5UAy49uSQDB5R+Uc0PusA1M5S8r+G4YFHg6VNn/ip6VSSYEZxHDiTFb5Vug=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:dkim-signature;\n bh=4OV4tZaQOmvhVtLjTP1R0Qf0EyawQKVtKeldUguHiow=;\n fh=eTH0+UEeuOzDG30KbVD3yEp4hOjPWeXmYjqGo5SodPc=;\n b=MiIwSKlyZcq/WKRTCnc2M/lS8aZ6KiALNfwHo7JRAqPWSMz6xjw4Diai+1G1an/TRY\n OM8nsv2C2zrrrbLieDccP7RHUGnEaQddUmQPpdwjf1KqFRVf0QFws6aiD+Nk6TACBKSB\n RukxlzMn3ugjJk/DfwiKMooANheqU+VXR0Sj8iAgwOkNmTg7XcWHNRiVkrc26X4GEs5w\n Tai3E0JWRgmAsM3Tw/MFENwXVcJYHDlHmmbP7XaKJMgXzlqiS+b4XnHECmMDaxongBON\n h2KuZIaypyclAeHEjZVcA5f8L9uhhh57B30tU52OPuOtR8lU9DEP0ODl6Yy67D/RaDMy\n kZnw==; darn=gcc.gnu.org"],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.google.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775231350; x=1775836150; darn=gcc.gnu.org;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:from:to:cc:subject:date:message-id:reply-to;\n bh=4OV4tZaQOmvhVtLjTP1R0Qf0EyawQKVtKeldUguHiow=;\n b=ZkNmXPjN6Z/I+cTd1hzsBoY3jHpvJ6NOUVYIc87BNxmmppmNKZSN0F4kPMc/CIIeFm\n y8XfkNDz5Qy4f1tXfBrzrU6TcYHMhRVuYj0nF/YLluUMP8mG48yssm0xEZhr6OmxgOyP\n HDNm/+W3JDWzPOntSjpScIoU2IaBJcnfOUwSpSME3aCsWPgvgHh9ujBu4tbXQKJuEefn\n PCvsrcUPsd+fc+6Uec8JcAbmMm1giofRBmf9T95+aqp25g947p9v81XM01Jq7wkddnqC\n yQAUb3J1qfPgOAUQmrxAZFAjSd8edi9atLTmjc5xFILDVYOhsUJAo+cwDP/0dv/FzW1P\n xZmA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775231350; x=1775836150;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=4OV4tZaQOmvhVtLjTP1R0Qf0EyawQKVtKeldUguHiow=;\n b=WsY6nW710UEruL5gVC5dPGNlgEYjPuGvvxpVUZStIp12KQUga3Ov0tpPk6/dQy/C7J\n uC8yOkmMToAkw1pXs6h9xVMCP7fSjAurOB/qAQ6srv/afBsBi3sT0kGKEr0gsjmeO6Dj\n omzs1jboyp4WpsRDE75yko/FpGrqI/OX+16YtseZBnjOu8uRrmTyDti+DeKuiGH5NqsX\n LVAYHx/0xyqPklKbJFuHIAIJIkB62fMc01U87V71dolDHHKGUHSjQxLVdey6C0tWQE7o\n QFBQHZqA7EZ/Llva8cnwbtP/JJzK5gaLCFoVI8ZpF7OmtrIRGbsaoQ7bAjzxQifpjSKw\n tl+g==","X-Gm-Message-State":"AOJu0YzqVPbQmSazIw95vluSh/J9nmMyB0lcm/k1yOkBF9vt9Dpb13pP\n jY6nWz2d+3Em9DMGHjw8ta/oDAjDv7O87gQnDf48d+ae3Rqptz+VM7XcbbTfSOKL0wcZ+52ljHB\n bdV51AGFg4o4qMV/5dylYvRvIfe+H8I0=","X-Gm-Gg":"AeBDietJdX9EceLxDfvvi93WpAZOMtS+us2rajehUg6A4oiUiIFhhMvhX1d/InXc4wx\n 30KqEkbT88o2u46SS39DcDIZn9ns3xSJAogLaVoX0lfWpXV+a/XZxST6j1Do3PEAS72+kxjZ3Py\n 2NPWtfUKgF0TZ8qcgSQ4eJfI2AJOaqbHNslZazVW6fuGoqV5DuGziM4Wp5JOZzBpaXeFPDppCno\n 4r6HccSQLNuwLVyOvs2KAo1kHav5F52jsSbdn+qQ6U10ij0Z0sKS4hU2cedxEy2TgWoDlyKi0wb\n RFUwAvxNLzonRswcvrG1bQFHoojDPi5eFBafdUtt/A==","X-Received":"by 2002:a17:907:6eab:b0:b98:4a7a:d5f8 with SMTP id\n a640c23a62f3a-b9c67a10a6fmr176090566b.46.1775231349881; Fri, 03 Apr 2026\n 08:49:09 -0700 (PDT)","MIME-Version":"1.0","References":"<20260402192817.2745507-1-torbjorn.svensson@foss.st.com>\n <CAF1jjLsW_okffOYV7PHsXALGgF7czd5Wj5zRJuWZ1sq+yFKn8Q@mail.gmail.com>\n <2704d2ab-9b1d-4d78-b0ff-c025a2c5286f@foss.st.com>","In-Reply-To":"<2704d2ab-9b1d-4d78-b0ff-c025a2c5286f@foss.st.com>","From":"NightStrike <nightstrike@gmail.com>","Date":"Fri, 3 Apr 2026 11:48:59 -0400","X-Gm-Features":"AQROBzAj775crAaKNQG8hDPkjdocF8qvnp0DeOQZsIa-3ifND-IOkPdnSkqNHVk","Message-ID":"\n <CAF1jjLsXGRQTH0rvczyOWod89KnUJ5wEYKQEsGQ6NU8pK_bpZw@mail.gmail.com>","Subject":"Re: [PATCH] config: increase stack reserve to 16MB for the toolchain\n on Windows","To":"Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>","Cc":"GCC Patches <gcc-patches@gcc.gnu.org>, Jakub Jelinek <jakub@redhat.com>","Content-Type":"multipart/alternative; boundary=\"0000000000000100c2064e9042ec\"","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"}}]