get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227597,
    "url": "http://patchwork.ozlabs.org/api/patches/2227597/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260424015717.F2DB02045A@pchp3.se.axis.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/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": "<20260424015717.F2DB02045A@pchp3.se.axis.com>",
    "list_archive_url": null,
    "date": "2026-04-24T01:57:17",
    "name": "[2/2] gfortran.dg/coarray: Require target sleep where calls were recently added, PR125005",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e2ed9917af1a667db0774951be21ce1d86ab2a68",
    "submitter": {
        "id": 78298,
        "url": "http://patchwork.ozlabs.org/api/people/78298/?format=api",
        "name": "Hans-Peter Nilsson",
        "email": "hp@axis.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260424015717.F2DB02045A@pchp3.se.axis.com/mbox/",
    "series": [
        {
            "id": 501276,
            "url": "http://patchwork.ozlabs.org/api/series/501276/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501276",
            "date": "2026-04-24T01:55:47",
            "name": "[1/2] testsuite: New effective-target sleep",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501276/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227597/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227597/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 (1024-bit key;\n unprotected) header.d=axis.com header.i=@axis.com header.a=rsa-sha256\n header.s=selector1 header.b=JLC5mEdP;\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 (1024-bit key,\n unprotected) header.d=axis.com header.i=@axis.com header.a=rsa-sha256\n header.s=selector1 header.b=JLC5mEdP",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=axis.com",
            "sourceware.org; spf=pass smtp.mailfrom=axis.com",
            "server2.sourceware.org;\n arc=pass smtp.remote-ip=52.101.72.70"
        ],
        "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 4g1x2P0J6Gz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 11:58:37 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 308A34B99F67\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 01:58:35 +0000 (GMT)",
            "from AM0PR02CU008.outbound.protection.outlook.com\n (mail-westeuropeazon11013070.outbound.protection.outlook.com [52.101.72.70])\n by sourceware.org (Postfix) with ESMTPS id 6C67C4BB1C11;\n Fri, 24 Apr 2026 01:57:22 +0000 (GMT)",
            "from DUZPR01CA0159.eurprd01.prod.exchangelabs.com\n (2603:10a6:10:4bd::16) by AS8PR02MB6839.eurprd02.prod.outlook.com\n (2603:10a6:20b:256::17) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.19; Fri, 24 Apr\n 2026 01:57:18 +0000",
            "from DB1PEPF000509EE.eurprd03.prod.outlook.com\n (2603:10a6:10:4bd:cafe::33) by DUZPR01CA0159.outlook.office365.com\n (2603:10a6:10:4bd::16) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9846.22 via Frontend Transport; Fri,\n 24 Apr 2026 01:57:18 +0000",
            "from mail.axis.com (195.60.68.100) by\n DB1PEPF000509EE.mail.protection.outlook.com (10.167.242.72) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9791.48 via Frontend Transport; Fri, 24 Apr 2026 01:57:18 +0000",
            "from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail11w.axis.com\n (10.20.40.11) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1748.39; Fri, 24 Apr\n 2026 03:57:18 +0200",
            "from se-mail11w.axis.com (10.20.40.11) by SE-MAILARCH01W.axis.com\n (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.61; Fri, 24 Apr\n 2026 03:57:18 +0200",
            "from se-intmail01x.se.axis.com (10.4.0.28) by se-mail11w.axis.com\n (10.20.40.11) with Microsoft SMTP Server id 15.2.1748.39 via Frontend\n Transport; Fri, 24 Apr 2026 03:57:18 +0200",
            "from pchp3.se.axis.com (pchp3.se.axis.com [10.88.21.53])\n by se-intmail01x.se.axis.com (Postfix) with ESMTP id 05A753661;\n Fri, 24 Apr 2026 03:57:18 +0200 (CEST)",
            "by pchp3.se.axis.com (Postfix, from userid 171)\n id F2DB02045A; Fri, 24 Apr 2026 03:57:17 +0200 (CEST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 308A34B99F67",
            "OpenDKIM Filter v2.11.0 sourceware.org 6C67C4BB1C11"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 6C67C4BB1C11",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 6C67C4BB1C11",
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776995842; cv=pass;\n b=lazJRxMLBIU4KtbmpD8dGh36jxnwbfZ1lpdwiVJGsuJoAGeiwEpbx+h/tAd3H0k2+rzlarGiBSL/7a/qqgzoWXfKmKllTEEHAZltoUnRIptGhng7EMfjfuYpHspiG6QoNCFR2CtTjrwUcnCcwuSdrQRyzvIBtMteoYDjxWmldhY=",
            "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=bGUqIUE6fRTK82Sa/ziv3jYLVMC0zUE8ulv3Kx0Ya6aMGjiSmhYoSkAHll5dAbX8YFUHBEkXC2xLmroDdPXITsxC1D8Vi4eZZpnelCoa2EEFTqojO53Tf4MuUgB20E+Zq4y1852kEk1byul6nH1KTK2i+a6goKJMWVsfhAf+Pdy0/hz4pIzAjS9oDUyzMergaVeKxlFUGllrWtaOah0jImf4P88hp7f59JLRUTPaRV8Rt+X/1VZ6QuKBdZlbt+M3Wet3uSDtwWtcihtcKZKh6szR7lOwIIJ3pOSo7ks/E+vwms4vV5FdmfaMSWQXAO4LmebUp2ZP/kqnWAR677/yuA=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776995842; c=relaxed/simple;\n bh=RuDxFr7uhCTVKjnhlPbdwIjCbTHafXaO48/VxNPSCN0=;\n h=DKIM-Signature:From:To:Subject:MIME-Version:Message-ID:Date;\n b=NPmnypwo4UW3/nGARrZkhx49WgiqhFzpav0Z+khm3ZSENxYII12i/vLsCQxASUUpubZvXLIdmT2yznXAf1QIfB48jeesKIdyBQgeBY0XbVaXtg3YvOrtN/oYA1LTx9yC+0kAO6JBlapBflALL+LCbKlpHeEVgbLxB6n4LP1Beuk=",
            "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=JZMoF0D8n51IVz6CxqIAU+U3aJOPUIP0OqknyMqh8Nk=;\n b=np6kSRLOWB6LF4lfPNHvh8T+QTdKjX3s/YTZdBBzvzsvWXpyfYhmAyd6ISArUYdRjxMYX9+GhFvbAEa89X23aIVJfLIiVQtQcJsblfjSFNQchDb9UCzpFFkbq936OTARXkgSrQpKF3R4A/3dT5hg4bhhTe7Q5aawH+PmFR+q8pZ6g64sPLrzXv7OaWa0HE7gp5cfbUlbT0yp6/2dOlpsQ9Pu+BKC6I/z/LOYrkELkccsP1FMdnqTeG8QcwOG6adNLQ1axCIfrTsGDwlfpjEqbGASWDCF/oGgcMhYK+5TVyDO+R+IFnpg5+Js1ls5HZ0Ybh8j5LCJFrfWKJ1HxN/MFg=="
        ],
        "ARC-Authentication-Results": [
            "i=2; server2.sourceware.org",
            "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 195.60.68.100) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=axis.com;\n dmarc=pass (p=none sp=none pct=100) action=none header.from=axis.com;\n dkim=none (message not signed); arc=none (0)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=JZMoF0D8n51IVz6CxqIAU+U3aJOPUIP0OqknyMqh8Nk=;\n b=JLC5mEdPkgJfFIMnFgWS5DeJr2PwVcsRfmN4++3Jv3Fnx9p8YOMQreuc1U6dj3WA9FA0QWFUFRbH4BB8R0fDfLPryA/m6iykUvIAMQLtx5jo2SUVoVN1pVdC9tXmvePnmsx3zxnlB3VIFhnjDIWeAKuRVc8lR6gl0GoPX4XZPq0=",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 195.60.68.100)\n smtp.mailfrom=axis.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=axis.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of axis.com designates\n 195.60.68.100 as permitted sender) receiver=protection.outlook.com;\n client-ip=195.60.68.100; helo=mail.axis.com; pr=C",
        "From": "Hans-Peter Nilsson <hp@axis.com>",
        "To": "<gcc-patches@gcc.gnu.org>",
        "CC": "<fortran@gcc.gnu.org>, <jvdelisle2@gmail.com>, <vehre@gmx.de>",
        "Subject": "[PATCH 2/2] gfortran.dg/coarray: Require target sleep where calls\n were recently added, PR125005",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"iso-8859-1\"",
        "Content-Transfer-Encoding": "8BIT",
        "Message-ID": "<20260424015717.F2DB02045A@pchp3.se.axis.com>",
        "Date": "Fri, 24 Apr 2026 03:57:17 +0200",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "DB1PEPF000509EE:EE_|AS8PR02MB6839:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "19b09484-3c62-4110-30e7-08dea1a4d0f8",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|82310400026|376014|1800799024|36860700016|13003099007|56012099003|18002099003;",
        "X-Microsoft-Antispam-Message-Info": "\n /obqYqUkhFQO/aa0nqO6xV8LjCNvb59rf736MzJmOm6aSYp7Y/ftZZEv5C3LJZTzuLHdb7eXlrQmY4IIHDiIknlMBoMq6uy3olnTypSuXlTBki4yuzGS4udnn88uLBLS2DYNDOsrpdJQX1kbOxZhmAfa9tjEcBsZd0erX8DCvezvkYxrJrqU6EQqT2se//VMgi8d4t3kZ/cMLWybuYkwdnYco35AQ9rzGubnUG2GVt+10wKrJkdAI5GYFnVe/FEROBquW1DqI0t0/qdYnfTbOizsbwnMljTRDbVxHIj/z4GUugzf79LhOmQJHSOLnC+z3Ap7skkHv0aOnuQZ+XcJM/HVAWHNkwp8Zq8DV9bVdkMNpSL+RuL+Seykdql2LHM+uGqIhMnDwGf6dYqq6KmnrbIPHdIFfZXS6hDdvia5LXOdUHSV3/6G4aWFU8Pj794711ZCC1Wp0VY4BhLHw5hZAQww50QZ0foFZJ8GjOJsDmcl6CAgZYELGokBXh49gEzH5KtHVW97PBH+e8b3+GnAyx8V1RhFcnT8ef4HM+TKDuO6M2anSN/8fVF4/ycxUmnWK47Rxc1MGdZ7tMBJ9xKM9teRJJ0CT6jLuBQ118u6e7WLyV/e1C6E5R9Y7bY4IUUtOnsC/+L1r8u7XmUsdAf5qSHiXDURvjW7pG/tR9srooDoUqLOI43L2tUj9fKLkgghK4y2in02g2jIDvipUg7q99wxIT5AAre8DCwfe3YasDk=",
        "X-Forefront-Antispam-Report": "CIP:195.60.68.100; CTRY:SE; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:mail.axis.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(82310400026)(376014)(1800799024)(36860700016)(13003099007)(56012099003)(18002099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n RVuVtN44/5oOcu2kSWzNeMrsxN3UX59WSCr8+M450stuDUdLTT80gJZTfUE8li/rc5c4CdJF4KORs4DOJs6hWJERqTEqpWpMHWRP4cJ8BKCWn/6HX2wfy7JKLfCbvfw6mdHuW/hL5rbPmHYMJhyi3mDJjlvURgSU1yGZGJ1apS2TdSOvOth+DeCV6ZXe6pxjGEoNLAohdkB+KnH2oZ9C0AteHETvD6MppXcOcpI13XnmWF2VJ8aT3u7aKDMvLaICgx8l+a8bTXamlTnPC5/WBD7f/oy5hN159/n53k1VNKgOE5gx1ZMNHQBirsI3ScXCTaa+lo6Je6MT/B2OjNfn1Zl+TH5Kc3NIuW+fmyWYJRyaW3WQH+Kfy9g961alMuzhQ4HK9coh1wHevaGrF7THXlkdbfUeMSWOT1HABI/7zk7+AcE/wgCKwZi5tiNJ48JD",
        "X-OriginatorOrg": "axis.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "24 Apr 2026 01:57:18.5337 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 19b09484-3c62-4110-30e7-08dea1a4d0f8",
        "X-MS-Exchange-CrossTenant-Id": "78703d3c-b907-432f-b066-88f7af9ca3af",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=78703d3c-b907-432f-b066-88f7af9ca3af; Ip=[195.60.68.100];\n Helo=[mail.axis.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n DB1PEPF000509EE.eurprd03.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AS8PR02MB6839",
        "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": "See also PR libfortran/125005.  Ok for trunk and gcc-16?\n-- >8 --\nI added this attribute only to those tests requiring linking and\nruntime use, i.e. those failing as per the PR.\n\n\tPR libfortran/125005\n\t* gfortran.dg/coarray/failed_images_2.f08,\n\tgfortran.dg/coarray/image_status_2.f08,\n\tgfortran.dg/coarray/stopped_images_2.f08: Require sleep effective\n\ttarget.\n---\n gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08  | 2 +-\n gcc/testsuite/gfortran.dg/coarray/image_status_2.f08   | 2 +-\n gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08 | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08 b/gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08\nindex 78d92daf0715..f0b4f59aca90 100644\n--- a/gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08\n+++ b/gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08\n@@ -1,4 +1,4 @@\n-! { dg-do run }\n+! { dg-do run { target sleep } }\n \n program test_failed_images_2\n   use iso_fortran_env\ndiff --git a/gcc/testsuite/gfortran.dg/coarray/image_status_2.f08 b/gcc/testsuite/gfortran.dg/coarray/image_status_2.f08\nindex 8866f2374819..748fa4e49360 100644\n--- a/gcc/testsuite/gfortran.dg/coarray/image_status_2.f08\n+++ b/gcc/testsuite/gfortran.dg/coarray/image_status_2.f08\n@@ -1,4 +1,4 @@\n-! { dg-do run }\n+! { dg-do run { target sleep } }\n \n program test_image_status_2\n   use iso_fortran_env\ndiff --git a/gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08 b/gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08\nindex dadd00ecda7a..cd9008fdd4e5 100644\n--- a/gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08\n+++ b/gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08\n@@ -1,4 +1,4 @@\n-! { dg-do run }\n+! { dg-do run { target sleep } }\n \n program test_stopped_images_2\n   use iso_fortran_env\n",
    "prefixes": [
        "2/2"
    ]
}