Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217424/?format=api
{ "id": 2217424, "url": "http://patchwork.ozlabs.org/api/patches/2217424/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260328195917.2568036-1-ibuclaw@gdcproject.org/", "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": "<20260328195917.2568036-1-ibuclaw@gdcproject.org>", "list_archive_url": null, "date": "2026-03-28T19:59:17", "name": "[committed] testsuite: d: Adjust test for d_runtime_has_std_library", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0365b26c01269c9264ebe10ed65ec0673bd225e3", "submitter": { "id": 46728, "url": "http://patchwork.ozlabs.org/api/people/46728/?format=api", "name": "Iain Buclaw", "email": "ibuclaw@gdcproject.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260328195917.2568036-1-ibuclaw@gdcproject.org/mbox/", "series": [ { "id": 497891, "url": "http://patchwork.ozlabs.org/api/series/497891/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497891", "date": "2026-03-28T19:59:17", "name": "[committed] testsuite: d: Adjust test for d_runtime_has_std_library", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497891/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217424/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217424/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=gdcproject.org header.i=@gdcproject.org\n header.a=rsa-sha256 header.s=MBO0001 header.b=GeP4NJQ3;\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=gdcproject.org header.i=@gdcproject.org\n header.a=rsa-sha256 header.s=MBO0001 header.b=GeP4NJQ3", "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=gdcproject.org", "sourceware.org; spf=pass smtp.mailfrom=gdcproject.org", "server2.sourceware.org;\n arc=none smtp.remote-ip=80.241.56.172", "outgoing_mbo_mout; dkim=none;\n spf=pass (outgoing_mbo_mout: domain of ibuclaw@gdcproject.org designates\n 2001:67c:2050:b231:465::102 as permitted sender)\n smtp.mailfrom=ibuclaw@gdcproject.org" ], "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 4fjpJz1KmWz1xrn\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 06:59:57 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id C84404BA23E5\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 19:59:54 +0000 (GMT)", "from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172])\n by sourceware.org (Postfix) with ESMTPS id F1FBE4BA23D0\n for <gcc-patches@gcc.gnu.org>; Sat, 28 Mar 2026 19:59:25 +0000 (GMT)", "from smtp102.mailbox.org (smtp102.mailbox.org\n [IPv6:2001:67c:2050:b231:465::102])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4fjpHv4MgCz9tmX;\n Sat, 28 Mar 2026 20:59:23 +0100 (CET)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org C84404BA23E5", "OpenDKIM Filter v2.11.0 sourceware.org F1FBE4BA23D0" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org F1FBE4BA23D0", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org F1FBE4BA23D0", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774727966; cv=none;\n b=bo/2aO2D3QA+pZ1HmnhxK1yLN0XyVXXxSjDz4IG9lwvLXW2oKYH5iOS+kV4qhMGBArrT1cjIkE4w2lSzBJNknGOZSsFTRsViragvKMsIsdJoNhnR/7nxht37sLp3Oiv4QrK3JYEZq/NJ7CmRNCEEP2eel1JGHGpoPmFoEf97rZo=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774727966; c=relaxed/simple;\n bh=ROarPdAx+aWnvpFAejJ3OdaAfFKZouzfoourwINiNp8=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=d6mccoWCJgA0NRuSBmIiplGAGBm4xkg5E3bFEGcDPm3vvqDnlbMcVFv6i88CHBNnDbM7/KLi9q6VFRulHCTwcHc/Jb4FxMk/FuQ+gaxd0VZV9m2vvRb6YRzUziPTCNv336X/8n/p+bFfHnItxDeWUtKXAl2oqbjqHXKds8OPCqA=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdcproject.org;\n s=MBO0001; t=1774727963;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=S3/KsSKztcub33brmYCmiKBgDPHwrlkgyIYCvWvqDL4=;\n b=GeP4NJQ354CIfXXJIpS56/7bi1qNqq0gr5tmCljzkt7fQgGAVIT3+p/ws/D/XNVeWhg036\n ExKuUd/+A02wqRmd9yVTKheeFtCouM/h1o/TKv09hungTQ9USGYdJ05k/JF2E2CYE1qugn\n BfxkMdZxR2swhoqW2DyHQ2TVpBpmvMYCDxv7BuEQbHkifc4FVQiPAw1oD70lEyC9pNkHcI\n GO5g2aO71HPU8ZQN0njtBSAS1u3N/jRVy6dw6WSe7KhqrXnpZ5UKh8zZj2Di06lhe1a1uG\n W9tdKuXJ0n1gjj+E0XnqVz8ZP/KpmKhTZU59Moprq30S4nAzSRmJSdZCqUeK/A==", "From": "Iain Buclaw <ibuclaw@gdcproject.org>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Iain Buclaw <ibuclaw@gdcproject.org>", "Subject": "[committed] testsuite: d: Adjust test for d_runtime_has_std_library", "Date": "Sat, 28 Mar 2026 20:59:17 +0100", "Message-ID": "<20260328195917.2568036-1-ibuclaw@gdcproject.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Rspamd-Queue-Id": "4fjpHv4MgCz9tmX", "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": "Hi,\n\nThis patch adjusts the test for the D std library so that it doesn't\nincorrectly return true on targets --with-libphobos-druntime-only=yes.\n\nThe function cos() is treated as an intrinsic, so always exists.\n\nRegtested with --enable-libphobos --with-libphobos-druntime-only=yes.\n\nCommitted to mainline.\n\nRegards,\nIain.\n\n---\ngcc/testsuite/ChangeLog:\n\n\t* lib/target-supports.exp\n\t(check_effective_target_d_runtime_has_std_library): Test for\n\tacos rather than cos.\n---\n gcc/testsuite/lib/target-supports.exp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp\nindex 855bdbcf55a..64555922ac9 100644\n--- a/gcc/testsuite/lib/target-supports.exp\n+++ b/gcc/testsuite/lib/target-supports.exp\n@@ -11056,7 +11056,7 @@ proc check_effective_target_d_runtime_has_std_library { } {\n \n \textern(C) int main() {\n \t import std.math;\n-\t real function(real) pcos = &cos;\n+\t real function(real) pcos = &acos;\n \t return 0;\n \t}\n }]\n", "prefixes": [ "committed" ] }