Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2195313/?format=api
{ "id": 2195313, "url": "http://patchwork.ozlabs.org/api/patches/2195313/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/555cdfaa-9137-4fd3-a0b0-d804f3ff789d@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": "<555cdfaa-9137-4fd3-a0b0-d804f3ff789d@gmail.com>", "list_archive_url": null, "date": "2026-02-10T18:14:18", "name": "[7/13] Coarray shared memory library", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3d3ea7079397960889635c4ae583f3bbb1bc51cf", "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/555cdfaa-9137-4fd3-a0b0-d804f3ff789d@gmail.com/mbox/", "series": [ { "id": 491719, "url": "http://patchwork.ozlabs.org/api/series/491719/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491719", "date": "2026-02-10T17:55:35", "name": "[1/13] Coarray shared memory library", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491719/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2195313/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2195313/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=bYYVCHRV;\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=bYYVCHRV", "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.214.181" ], "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 4f9VB64C40z1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 05:16:14 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 978004BA2E19\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 18:16:12 +0000 (GMT)", "from mail-pl1-f181.google.com (mail-pl1-f181.google.com\n [209.85.214.181])\n by sourceware.org (Postfix) with ESMTPS id 1EB8D4BA23E1\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 18:14:21 +0000 (GMT)", "by mail-pl1-f181.google.com with SMTP id\n d9443c01a7336-2a95de4b5cbso38017155ad.1\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 10:14:21 -0800 (PST)", "from [10.168.168.23] ([50.37.179.80])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2a951c7a342sm143273665ad.26.2026.02.10.10.14.19\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Tue, 10 Feb 2026 10:14:19 -0800 (PST)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 978004BA2E19", "OpenDKIM Filter v2.11.0 sourceware.org 1EB8D4BA23E1" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 1EB8D4BA23E1", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 1EB8D4BA23E1", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770747261; cv=none;\n b=t9AveOS0qIKk5TZkXvhGxDm8jkXHkgow0aCXJg3q07gN4NbEZDKjQmdRHTig9KUV02ex1kCIOvd6Y8i9rY0JZlU6MWqEpYKfsOInzc9oz8o8rWhsSjhZuDHd2jV22TCk9+QOq5K86NAn2eVn8DjTNNZlW26JjTlOpancCEeCKXY=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770747261; c=relaxed/simple;\n bh=qUpr+l8V//NxsYikaxQcEPrYLoWbpbQ0Wle4w6Pf+fg=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;\n b=BTj5oQKUpTH6eiYPbA7Ng/VTyxPjb5+3gIg/PTu4rXgo9ixIwIw2p0qUMYOrhfZYEqNfvgyj3TXs/fPorafaHIDGQfuowZF/7Nq9WSSuVASP99iL/5d3nqHVZLqnSGN0sLfL5QvJ0M1m7R+aaDI1S65MEhG1NCOpHdaUCz0MbW8=", "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=1770747260; x=1771352060; 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=qUpr+l8V//NxsYikaxQcEPrYLoWbpbQ0Wle4w6Pf+fg=;\n b=bYYVCHRVB9Us20XSPimhwovzI+rhPWYy+V6C73CMdmKKjIYhXgU2HonioQdhPEjz/B\n sjgTRc2rSSRMjcDCDsH0toClvF5ziOZLcBnvu2M8//l8odMA4QXQTICeIpYGsXQSstWC\n jne/jnKwNY0CGcillrdU/0VKNj2u0tON4Yvop0bd2jE1ET/3xeF6wXgw74fBUMBKE1nK\n tMbO9tXoojq5HEIFXlkxe/vbcxZ2P7ZzwWHHC6VEwVM83Snqdp68RMeaP7RcZyaPsfe+\n slycuZlkAkNP/vMEvkOMB7m4UYMZ4ZgaXkNbjgBrDyH80gZNHcyBT36U0CceaVNTdEWO\n 5Xpw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770747260; x=1771352060;\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=qUpr+l8V//NxsYikaxQcEPrYLoWbpbQ0Wle4w6Pf+fg=;\n b=E4Lmjweexzhi3Z+2wwOLcGeIsYoNIyKtMPxqobCIv5q8h1vMK7cKtyKFaSCUghAOQR\n RuvAmPpz11CelK6zhJWAPQ0QQuttYi91d3B0sMS4wd1sRA33cjbI0Msk82UxJ93Zmw1f\n RQQwYSGt2ITrQh/8+ELRQqChk04biF4tPy8SFQSoHOwEPESVyHBxs9qVbfccnLqeG5EX\n Nuoh6+lrnTanzhnLLqFOi5oRJM3k9FdMVArKvWLNCZ8Vc1qpxpXg0EfC8ojBHlD/N/Lq\n WfjhvqPvNQHtGuRCgEz5qXaYZMj1gd2+PK6O05xtSj+VFsMa//GHs7YdiAblkm0Rp/Yx\n ROFg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCX7avnYkGT5xlpdCTonaM/ybWF8MXD1Se+7kAv5QMw5kkCJT3jUu3obB/7qXCbczydv5r8At1yPDUwXyw==@gcc.gnu.org", "X-Gm-Message-State": "AOJu0Ywuz+GhYoxKMOTL4hfqPdwM3FwwTHvXXKCqzD9q6/PF72jUIsrr\n pAx2gwE3Yt0nNhgAgGDozV6Cv/Vv0dVJ6pm0le9pmCzopT3EyZr/sJq/", "X-Gm-Gg": "AZuq6aJrN9hHp5NDE4XA/5Ysd1KA1e7oTQVQlE2rd2++O9RiP9TU5+My4DWBmQ6Ha4R\n 61sPv2SOEzivEiPeXREHnkXx1vhiaRm5CtLxvK36VD0IrnWLBbAPB0kF53+ifLyNfp4z5GRtPTz\n uHYbYkeOpffKVMUXmse2zO6ULuBKLdyZ8I4Whz8WX3sKKHw5zRJoZ4ENM8acXWef4UBfvtRggwv\n 0Dv9lupJPWim7C2NnYd6oHx8xBYzZoas432+Pz38Jtaa0wXNu293YJ8k6paoHy3zEBLd6CljC50\n xFM9JJdXJXZjQjuVdbEBF/6uny4T7Fdm41jbUv7v/2A7vzaci9nEpzgiIVYXkIDV/2zh/twzFLa\n C0LMYG1KzdvlarKFLZXi529xe8uV2zfyXnmKLYo1ynvfbXU3yyZ8G42ouoftpc+DMItnmPTSsAD\n obThM5Iq1RsyWVEkouIlZsN8+PJto=", "X-Received": "by 2002:a17:903:198b:b0:2a7:d93a:a3b8 with SMTP id\n d9443c01a7336-2ab10a1a6b4mr26527565ad.32.1770747260110;\n Tue, 10 Feb 2026 10:14:20 -0800 (PST)", "Content-Type": "multipart/mixed; boundary=\"------------kNlevon3qKnyfbcOisFNTzGt\"", "Message-ID": "<555cdfaa-9137-4fd3-a0b0-d804f3ff789d@gmail.com>", "Date": "Tue, 10 Feb 2026 10:14:18 -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": "Tobias Burnus <tburnus@baylibre.com>, Richard Biener <rguenther@suse.de>,\n Andre Vehreschild <vehre@gmx.de>, Jakub Jelinek <jakub@redhat.com>,\n Paul Richard Thomas <paul.richard.thomas@gmail.com>,\n FX Coudert <fxcoudert@gmail.com>, Toon Moene <toon@moene.org>", "From": "Jerry D <jvdelisle2@gmail.com>", "Subject": "[PATCH 7/13] Coarray shared memory library", "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": "Dear all, as requested,\n\nSee attached patch 7 of 13\n\nBest Regards,\n\nJerry", "diff": "commit a33545504b85ea484a0c75526463488816063ecb\nAuthor: Andre Vehreschild <vehre@gcc.gnu.org>\nDate: Mon Sep 1 14:11:27 2025 +0200\n\n Fortran: Detect working CLZL or use alternative.\n \n libgfortran/ChangeLog:\n \n * caf/shmem/allocator.c (next_power_of_two): Use sane clzl\n implementation or alternative.\n\ndiff --git a/libgfortran/caf/shmem/allocator.c b/libgfortran/caf/shmem/allocator.c\nindex d900167cfc2..3ea4d50e045 100644\n--- a/libgfortran/caf/shmem/allocator.c\n+++ b/libgfortran/caf/shmem/allocator.c\n@@ -25,6 +25,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see\n /* Main allocation routine, works like malloc. Round up allocations\n to the next power of two and keep free lists in buckets. */\n \n+#ifdef HAVE_CONFIG_H\n+#include \"config.h\"\n+#endif\n+\n #include \"libgfortran.h\"\n \n #include \"allocator.h\"\n@@ -74,8 +78,16 @@ allocator_init_supervisor (allocator *a, allocator_shared *s, shared_memory sm)\n static size_t\n next_power_of_two (size_t size)\n {\n+#ifdef HAVE_SANE_BUILTIN_CLZL\n assert (size);\n+#if (__INTPTR_WIDTH__ == 64)\n return 1 << (VOIDP_BITS - __builtin_clzl (size - 1));\n+#else\n+ return 1 << (VOIDP_BITS - __builtin_clz (size - 1));\n+#endif\n+#else\n+ return 1 << (int)ceil(log2(size));\n+#endif\n }\n \n shared_mem_ptr\n", "prefixes": [ "7/13" ] }