get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196559,
    "url": "http://patchwork.ozlabs.org/api/patches/2196559/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/6febaeb2-8952-4b6a-84a4-88cc8cdb18b2@gmail.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": "<6febaeb2-8952-4b6a-84a4-88cc8cdb18b2@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-15T04:59:53",
    "name": "[caf_shmem] Fix failures when running when compiled with -m32",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e14cf17b19d78ef4a94269f07e58442954239175",
    "submitter": {
        "id": 78264,
        "url": "http://patchwork.ozlabs.org/api/people/78264/?format=api",
        "name": "Jerry D",
        "email": "jvdelisle2@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/6febaeb2-8952-4b6a-84a4-88cc8cdb18b2@gmail.com/mbox/",
    "series": [
        {
            "id": 492200,
            "url": "http://patchwork.ozlabs.org/api/series/492200/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492200",
            "date": "2026-02-15T04:59:53",
            "name": "[caf_shmem] Fix failures when running when compiled with -m32",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492200/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196559/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196559/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NTmc9+zo;\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=20230601 header.b=NTmc9+zo",
            "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=none smtp.remote-ip=209.85.216.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 4fDDHy062Lz1xtN\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 16:00:44 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 611AA4B9DB6E\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 05:00:42 +0000 (GMT)",
            "from mail-pj1-f44.google.com (mail-pj1-f44.google.com\n [209.85.216.44])\n by sourceware.org (Postfix) with ESMTPS id 9253A4BA23F9\n for <gcc-patches@gcc.gnu.org>; Sun, 15 Feb 2026 04:59:56 +0000 (GMT)",
            "by mail-pj1-f44.google.com with SMTP id\n 98e67ed59e1d1-3530715386cso1776229a91.2\n for <gcc-patches@gcc.gnu.org>; Sat, 14 Feb 2026 20:59:56 -0800 (PST)",
            "from [10.168.168.23] ([50.37.179.80])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2ad1a6fa260sm34455225ad.5.2026.02.14.20.59.54\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Sat, 14 Feb 2026 20:59:54 -0800 (PST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 611AA4B9DB6E",
            "OpenDKIM Filter v2.11.0 sourceware.org 9253A4BA23F9"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 9253A4BA23F9",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 9253A4BA23F9",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771131596; cv=none;\n b=SeG4Tfc19GGyqm+uIc+y9qbPzjO0UmLh3JNW2mNAUwOqgcuQXTxuWlMV8b15JX2WuqwYu6zNzY14t4toFkSUUP6TjN3QwGwAiiKfCECnMDLFuCI/35KqLZhA8WP68JwlPYEDe6v6vzgDqzNc7tFRKjbpAsIiunCdHYnl+0ubojU=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771131596; c=relaxed/simple;\n bh=nBwkMGt7PopyKrAWUoqv1Qel/AWxcKqJLYguzBc7+dg=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;\n b=FYHUY+Q0Y/zoeQN3t0mR4+e6qc6iANP4ipi64/zHmYJXbxrpOYrhVXAJ3XzCsjlTNWGGjr9GPkSx+nuRM52EqPSZZuNAaJqhukLjkaARfxghhPeWwjeFc2mOmWzmWCCGmIHFty/izvQwI10953qfFklY9Dqy1aYUeEYRcwe/1lk=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1771131595; x=1771736395; darn=gcc.gnu.org;\n h=autocrypt:subject:from:cc:to:content-language:user-agent\n :mime-version:date:message-id:from:to:cc:subject:date:message-id\n :reply-to; bh=cV7Vez0RMLqkQog9pxf+zgofJuwjM/UEPFp7POSWDVo=;\n b=NTmc9+zo6Gwit1hGX20sg+YMMwotmZVlra0Wpabc5rlfGBYWholrrddoIE3ZJJQcS4\n Ci/18DZquPYsN0X53xyairYLFeurqYY6o0v0a1bPRu2ohrEyE4tkQGgkQssWjj0bipQQ\n dviYK0dpx+3WNcXQKiaSUG11LkHgUrsj9nVkbG2RMHkfgQrB+QzeFaRbzqmrBxcDl6Px\n xNa5xJyd7zXNYYXF8OrG/go39hjgg+NIowC5f/6NZeZERN2CZvp30mA5HZPwbvcLUtGw\n Zhft+79hVoDoCV2eIbbA3BcCs/a831cr3lrXqgmFxJx+pgHz5WKH535b389PY9EPGWvl\n 4OvQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771131595; x=1771736395;\n h=autocrypt:subject:from:cc:to:content-language:user-agent\n :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=cV7Vez0RMLqkQog9pxf+zgofJuwjM/UEPFp7POSWDVo=;\n b=sOBQc0wZxAKVbybGc9cMGoJWbH4Q+lOpuRvIURLBOJPPiN7LG/kf0rR/RxbO+K7DAH\n ILGYPLt8IqceUkwh8O+pXtQX+gOXCmDHTm5U6oMvSFmMW9Q8pFxHvIDV0ZHBzTt09x4m\n Cf0emLyd/E+XVGeZZWMaKzNhrD4f8QTb5zm7G7NIykIszMye3+LaxOoj5yzP3LOnVztJ\n h+iF04m2BCwPkHeEpps3UEe7yswFMvH9XwpajQuMPuR2Dn4KeMfzhuKEs0kco+f5vATv\n cpT+9GBTK2a2ggMdz5f3Cc7GsIPtD+LEMUT7La/UMPNWAw74ZC5Dolp24Sb2shHxujwI\n So4Q==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCWft5n8IT0CIHVD1JkwVKhVy3sbCcPqG5YMzqfEKQQuwkMMnFQbuOn6XYFP6VQ8ndlCHgRadht6tpi2nw==@gcc.gnu.org",
        "X-Gm-Message-State": "AOJu0Yzegoq2DsLKur4YeD/R+jdDVZjOPPWfptJ9H/tnPJEk2vrf1g/M\n AIVKW8rmEFjzbmHW8aBdAj0VT7xvcSNjQ5xBkg++qaOLP5Tpf/EEqmCwiEqJTw==",
        "X-Gm-Gg": "AZuq6aL0HW3V9w/ZzbA+a41+4eBwliFMU9mqEwly0bKGzWkQ+FnzTkVaeYKCs0x69GV\n WhU+n323tS7hVTujyWR5rx/MxCHNB2Tf6/pcxpvNIq15NB0AU3kyZFM84D8uYrDnHinopW4lZCl\n BDNdzXD/EnabDpidZLL+KsuEBbY+3P1HpcJZvVuyu1p54MKtzOycvw3ZO0rGkM4N3M9Rt/TaxGU\n mbcrshDarfvgj4Im5Lut0ATB+CY624VPNmOfR5EYcoRFNeWGaDcGBE5Z8Zrgg+hAWy9ES2yQ6hN\n GPaXt2dmkf4gOJ8q80WxCpdd4/pciwhZV4AVozkxBHgU20TLJiKYWpqifI+ZdtTJ8d2QBoQLO9R\n 3s9QzXIyE5wHAfo3C66fk4X41LqCYiu4b1wWEYtYEaJPBVbBv8EDiVdXIzE4Q7du40CQyJEIaoG\n 2fFOgt2IfydC086dhBP0LPJUtFfys=",
        "X-Received": "by 2002:a17:902:e788:b0:2a9:4c5b:8966 with SMTP id\n d9443c01a7336-2ad17544553mr41535895ad.46.1771131595319;\n Sat, 14 Feb 2026 20:59:55 -0800 (PST)",
        "Content-Type": "multipart/mixed; boundary=\"------------2i77gIfOwUcxT8YWddpVIiv3\"",
        "Message-ID": "<6febaeb2-8952-4b6a-84a4-88cc8cdb18b2@gmail.com>",
        "Date": "Sat, 14 Feb 2026 20:59:53 -0800",
        "MIME-Version": "1.0",
        "User-Agent": "Mozilla Thunderbird",
        "Content-Language": "en-US",
        "To": "gfortran <fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>",
        "Cc": "Andre Vehreschild <vehre@gmx.de>",
        "From": "Jerry D <jvdelisle2@gmail.com>",
        "Subject": "[PATCH] [caf_shmem] Fix failures when running when compiled with -m32",
        "Autocrypt": "addr=jvdelisle2@gmail.com; keydata=\n xjMEY5TlkxYJKwYBBAHaRw8BAQdAyrkRDhmJhSTTlV/50gJLlvliU6/Lm5C9ViKV8T9y1GnN\n HkplcnJ5IEQgPGp2ZGVsaXNsZTJAZ21haWwuY29tPsKJBBMWCAAxFiEEOFR0TS0390uh8dRV\n uWXAJaWpwWoFAmOU5ZMCGwMECwkIBwUVCAkKCwUWAgMBAAAKCRC5ZcAlpanBalsJAP4wdCiH\n 2Of9oZv1QWgZ/AVdbWFM3Fv47/WZQHOXfoZ9HgD6AkXrKeJ+6usST7PEaDJjptaViT1fLiYY\n V/6XaOKSsgLOOARjlOWTEgorBgEEAZdVAQUBAQdAdA7PczYnl07vnOT9oP/wvvMDd4HP09Zl\n g3LzwXQJWT8DAQgHwngEGBYIACAWIQQ4VHRNLTf3S6Hx1FW5ZcAlpanBagUCY5TlkwIbDAAK\n CRC5ZcAlpanBasF/AQCa5WjlsVpLsEiggZyT18MOJNAdeRd7wkGDUrwedHrvawD/cE1H+/Ms\n L1ZwvQiLfGdx8crigQqWTQyos4kH8Wx82wc=",
        "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": "The attached patch from Andre is fairly straight forward.\n\nThe problem was found during our complete patch set testing.\n\nRegression tested on x86_64 with -m32.\n\nOK for mainline along with the whole patch set when ready?\n\nRegards,\n\nJerry\n\nAuthor: Andre Vehreschild <vehre@gcc.gnu.org>\nDate:   Sat Feb 14 20:20:48 2026 -0800\n\n     Fortran: Fix run time failures when compiled with -m32\n\n             PR fortran/124080\n\n     libgfortran/ChangeLog:\n\n             * caf/shmem/hashmap.c (hash): Use size_t instead of\n             uint64.\n             (hmiadd): Use size_t instead of ssize_t.\n             (scan_inside_lookahead): Use size_t instead of\n             ssize_t.\n             (scan_empty): Likewise.",
    "diff": "commit 13d1b63a24ac561f7d3595b5152ea44622ec4c52\nAuthor: Andre Vehreschild <vehre@gcc.gnu.org>\nDate:   Sat Feb 14 20:20:48 2026 -0800\n\n    Fortran: Fix run time failures when compiled with -m32\n    \n            PR fortran/124080\n    \n    libgfortran/ChangeLog:\n    \n            * caf/shmem/hashmap.c (hash): Use size_t instead of\n            uint64.\n            (hmiadd): Use size_t instead of ssize_t.\n            (scan_inside_lookahead): Use size_t instead of\n            ssize_t.\n            (scan_empty): Likewise.\n\ndiff --git a/libgfortran/caf/shmem/hashmap.c b/libgfortran/caf/shmem/hashmap.c\nindex e17d6dd2dca..1dd39801861 100644\n--- a/libgfortran/caf/shmem/hashmap.c\n+++ b/libgfortran/caf/shmem/hashmap.c\n@@ -45,8 +45,8 @@ typedef struct\n \n /* 64 bit to 64 bit hash function.  */\n \n-static inline uint64_t\n-hash (uint64_t key)\n+static inline size_t\n+hash (size_t key)\n {\n   key ^= (key >> 30);\n   key *= 0xbf58476d1ce4e5b9ul;\n@@ -83,7 +83,7 @@ hmiadd (hashmap *hm, size_t s, ssize_t o)\n \n /* Get the expected offset for entry id.  */\n \n-static inline ssize_t\n+static inline size_t\n get_expected_offset (hashmap *hm, memid id)\n {\n   return hash (id) >> (VOIDP_BITS - hm->s->bitnum);\n@@ -115,7 +115,7 @@ hashmap_init_supervisor (hashmap *hm, hashmap_shared *hs, allocator *a)\n    the expected position and the maximum lookahead.  */\n \n static ssize_t\n-scan_inside_lookahead (hashmap *hm, ssize_t expected_off, memid id)\n+scan_inside_lookahead (hashmap *hm, size_t expected_off, memid id)\n {\n   ssize_t lookahead;\n   hashmap_entry *data;\n@@ -135,7 +135,7 @@ scan_inside_lookahead (hashmap *hm, ssize_t expected_off, memid id)\n    to the expected position.  */\n \n static ssize_t\n-scan_empty (hashmap *hm, ssize_t expected_off)\n+scan_empty (hashmap *hm, size_t expected_off)\n {\n   hashmap_entry *data;\n \n",
    "prefixes": [
        "caf_shmem"
    ]
}