get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227076,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227076/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/2260888.irdbgypaU6@arcturus/",
    "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": "<2260888.irdbgypaU6@arcturus>",
    "date": "2026-04-23T07:38:12",
    "name": "Bump STACK_CHECK_PROTECT for 64-bit Windows",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "bda70a4af50408beb059e5a5d6ecd03c36cb8984",
    "submitter": {
        "id": 78832,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/78832/?format=api",
        "name": "Eric Botcazou",
        "email": "botcazou@adacore.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/2260888.irdbgypaU6@arcturus/mbox/",
    "series": [
        {
            "id": 501154,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501154/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501154",
            "date": "2026-04-23T07:38:12",
            "name": "Bump STACK_CHECK_PROTECT for 64-bit Windows",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501154/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227076/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227076/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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=NRLxc9qs;\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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=NRLxc9qs",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=adacore.com",
            "sourceware.org; spf=pass smtp.mailfrom=adacore.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.128.44"
        ],
        "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 4g1Sfl16MPz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 17:39:58 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 23B154BBC08C\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:39:56 +0000 (GMT)",
            "from mail-wm1-f44.google.com (mail-wm1-f44.google.com\n [209.85.128.44])\n by sourceware.org (Postfix) with ESMTPS id E1C554BA23C4\n for <gcc-patches@gcc.gnu.org>; Thu, 23 Apr 2026 07:39:21 +0000 (GMT)",
            "by mail-wm1-f44.google.com with SMTP id\n 5b1f17b1804b1-488ad135063so55779965e9.0\n for <gcc-patches@gcc.gnu.org>; Thu, 23 Apr 2026 00:39:21 -0700 (PDT)",
            "from arcturus.localnet ([78.240.212.105])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a55b8baaesm277016765e9.10.2026.04.23.00.39.19\n for <gcc-patches@gcc.gnu.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 00:39:19 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 23B154BBC08C",
            "OpenDKIM Filter v2.11.0 sourceware.org E1C554BA23C4"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org E1C554BA23C4",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org E1C554BA23C4",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776929962; cv=none;\n b=xHOAu8IRBA7idPsSLp81LRzgdNQAabiMbfcEGtLS3NGAL2t3pyIN21gtQ3b6tSMLK6uX9oz4pi/tKLA7KeL0QIbEkcWodfvM9mU7ryIYn0XsGwyQSf9QMCb5MuuzgdIcFFR5JdLuekS9e4BOVKNaJxTDQbO/kxd4xQ89eHpsg8o=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776929962; c=relaxed/simple;\n bh=MDAoj8UMlIZ1RjuzeThDvNR2gqqUo6h9ttTlUI9cLEE=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=TwH6CV2xPDhUVJ2/j8pr+TPAXmojYmTqy0N/qM20PgXLHORqhz82JRYSUXXD2S3fYNRhtMbK0kPTlF1hzY5yChXFQckXtOK7jYRALLvHPNLMyEzCE77lCUqHVdLWEiLxh0naDjfAlBK1/hJfxLO0PRObPgRkA0miIQF0GvO0e9k=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=adacore.com; s=google; t=1776929961; x=1777534761; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=8bBkXH0mM3gx0chNFcLKOrlOA55cJX6TlY2gal3DcYE=;\n b=NRLxc9qsmwNh8fC5/VA93tHhjo1sH9+4FctAXpIACeOG9ZUOnhT4Lj8GrqGCDZoPce\n IDUo3H0tmBzDKba6Rno9fvqXDlqJ6an/S2XzRE1BJvQEajt+yi5k+PU5f84g+AYFCAHX\n G5ptv4wiCH2VDCt8f8pbMy1rwfKR+T6SP3cwZ6/tn0NRNGMc0Pwo+gP7amfizmie88A6\n 9iJC/HGfzHaIcRyiCfx1Y6YtNNRkrWIrL+dyHWf92LQsfihu3Xc/Z07367SeAqTvizfE\n iEd7U05GI8CQul/XnM0ojkZXJNYCQurzRdbnPUwsnYJtP/4LNmUifGf4ktkjjBobT71N\n 6vMA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776929961; x=1777534761;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=8bBkXH0mM3gx0chNFcLKOrlOA55cJX6TlY2gal3DcYE=;\n b=nE5+8Q1WnktbCEnkv4hCUFe1f7I2xiguWU/hDwI1YLjK7pHLwFuV/C8C5r1MDL4I4/\n iLyfP/B8qHubUe/GxsHU0UvEB3O647XmCqBZbr5ZF/KPy5/BYQmqsEh+fCnt6ZbJTAtv\n LT73m62q7Hu2zrd+dbwqnpgo1kFuorWHIE0sJi5kfVKHKdbdvQEmSCYR/7Pkor7/8inK\n UjwJX96bZ5UK7RVrGguEO58vZ7dGNKMOti3UiPWMIoE3loGuK8NbV7hXuul01b9k+c97\n DVWFCx1HG0HHiEhj7YCkle9MFIV8sE8xc2QBQqsX67HjmZJFzbe/PnX/6Xvw0P75GxnU\n wekQ==",
        "X-Gm-Message-State": "AOJu0YwLPOv6sN7vgVR/W6/NwYToFfxSXe0ge+r5AAFEBwseIZQJZEH+\n 3yaj/hyviGMxV8a4hlpcP9rVIcZCVC/LdFfjiGyteoQApjAq/6xd7ddpboBEVeSGs2EKYHlXSB3\n bwxI=",
        "X-Gm-Gg": "AeBDietX7OtzFFLcyk1BQ0/oSQs0G42uCewC+Hp3UAgWBc5y4SPdg7TegCZsORlegVo\n uilrvX7+5jbMVal3dC5/wyuVr4iAYtnsLJ2+8S2SQbF/vTLz1qW7HldiyQsrCH61xemPbn8XfHT\n KtY3nddAlRfaTTg3fn7B6+zHSIhJ/xyaq+8J4HCcLMBRHAwCtK2j1z9Puo5arenJS2jERAvRAlD\n ZiyWvSFiEJlypdnPDKUdoVuHCXNcrOsNcpOarXEmYfPlEzPzTsZtL39Nz/MvA1wbJDzI7vjxLPR\n /pfhyO1JfLoFCb0kQgF29jPJlrTgjHPVNUeE7d0Vp8sxk+fo3RIaE8GQmKzabEqfV0zGXels7t6\n gkwxKO/pUjXjr8bpy4j2eEhSOxsRURWEc+efStqYxJC8AgGPndZ8OJPiwV8l7N8j9WyxVcwv8Yr\n OVhhdwfl6UswBQMtm6rY4pAg8ACrr1x8rrNVvs+XXRM4U=",
        "X-Received": "by 2002:a05:600c:1da1:b0:488:d376:42cd with SMTP id\n 5b1f17b1804b1-488fb785901mr410442065e9.22.1776929960569;\n Thu, 23 Apr 2026 00:39:20 -0700 (PDT)",
        "From": "Eric Botcazou <botcazou@adacore.com>",
        "X-Google-Original-From": "Eric Botcazou <ebotcazou@adacore.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[PATCH] Bump STACK_CHECK_PROTECT for 64-bit Windows",
        "Date": "Thu, 23 Apr 2026 09:38:12 +0200",
        "Message-ID": "<2260888.irdbgypaU6@arcturus>",
        "MIME-Version": "1.0",
        "Content-Type": "multipart/mixed; boundary=\"nextPart13994609.uLZWGnKmhe\"",
        "Content-Transfer-Encoding": "7Bit",
        "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": "This is required for -fstack-check to be able to properly recover from a stack \noverflow condition on (some configurations of) Windows Server 2025.\n\nTested on x86-64/Windows, applied on the mainline as obvious.\n\n\n2026-04-23  Eric Botcazou  <ebotcazou@adacore.com>\n\n\t* config/i386/cygming.h (STACK_CHECK_PROTECT): Define.",
    "diff": "diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h\nindex 00d11063c72..6e5a301aee1 100644\n--- a/gcc/config/i386/cygming.h\n+++ b/gcc/config/i386/cygming.h\n@@ -466,6 +466,8 @@ do {\t\t\t\t\t\t\\\n /* Static stack checking is supported by means of probes.  */\n #define STACK_CHECK_STATIC_BUILTIN 1\n \n+#define STACK_CHECK_PROTECT (TARGET_64BIT ? 20 * 1024 : 12 * 1024)\n+\n #ifndef HAVE_GAS_ALIGNED_COMM\n # define HAVE_GAS_ALIGNED_COMM 0\n #endif\n",
    "prefixes": []
}