Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196912/?format=api
{ "id": 2196912, "url": "http://patchwork.ozlabs.org/api/patches/2196912/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260216142057.973121-1-tkaminsk@redhat.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": "<20260216142057.973121-1-tkaminsk@redhat.com>", "list_archive_url": null, "date": "2026-02-16T14:18:49", "name": "libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124].", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fce7768f0ea8ce88e7c7d16a3eccf142be9fc4b0", "submitter": { "id": 90409, "url": "http://patchwork.ozlabs.org/api/people/90409/?format=api", "name": "Tomasz Kaminski", "email": "tkaminsk@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260216142057.973121-1-tkaminsk@redhat.com/mbox/", "series": [ { "id": 492315, "url": "http://patchwork.ozlabs.org/api/series/492315/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492315", "date": "2026-02-16T14:18:49", "name": "libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124].", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492315/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196912/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196912/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=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Rmff80se;\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=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Rmff80se", "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com", "sourceware.org; spf=pass smtp.mailfrom=redhat.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124" ], "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 4fF4j43nvFz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 01:22:00 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 742FB4BA23C5\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 16 Feb 2026 14:21:58 +0000 (GMT)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id 9EF494BA23C5\n for <gcc-patches@gcc.gnu.org>; Mon, 16 Feb 2026 14:21:02 +0000 (GMT)", "from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-57-H0DK8xpMOtqpXbLBwR6jkQ-1; Mon,\n 16 Feb 2026 09:21:00 -0500", "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id C67BF1800473; Mon, 16 Feb 2026 14:20:59 +0000 (UTC)", "from localhost (unknown [10.44.33.164])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 425E01800464; Mon, 16 Feb 2026 14:20:58 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 742FB4BA23C5", "OpenDKIM Filter v2.11.0 sourceware.org 9EF494BA23C5" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 9EF494BA23C5", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 9EF494BA23C5", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771251662; cv=none;\n b=Z7RUsGa8DIuRLpckcBIgaETAXacbewkC+n6G2iICqAUFcPKMPHoYyYKlBIWTvOs2imK1hd4c6i5zzCp/EvpT5asCCJa89BREHs8J3YcRtR2epxJdHDPqtG8hZpUG8l7ZbOjtkeAO9ekI/saGArV7S6f7kEdrb87lNwQ85bdCugU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771251662; c=relaxed/simple;\n bh=1FyxpwJCZaC2PBqZLNmzlDLbBVNuwKjXe6vx37MUR50=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=kRZv6jhH1kvFwxj/C3oV2lKp9ueNF0rOoz+mlrvZMV+8rzqG2i2bdeSrZApNmkQZTbIX0pxe4VPGxngmEtCizu0biaqFIZAUiXCpfVmfcyGdQO3RE7IpvyhVzyUlyOR3cA08KwdP1sCB6Tb8iCs+eViBIUwtYkC8sEyh1PpOUIU=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1771251662;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=ReJgU9Q2KjPmIEdnifpaSYpn5Jeog/T1qkk1XQx++5s=;\n b=Rmff80seTYcN4FlNq1mNq/wRvZswoq/s5JPD76Y7Mqw0JcQ/23ofLlfmszpPnX4ISc2GER\n +mQYMz+hZwLNyjGHbUd4w6Fdjz/xx8lJ+ZV8dqgSlOpiHRPWdFJQaHahKlRr8ldd4VcZIY\n WuKbVkU5YOp8n0iGflIRohc+0MBowT4=", "X-MC-Unique": "H0DK8xpMOtqpXbLBwR6jkQ-1", "X-Mimecast-MFC-AGG-ID": "H0DK8xpMOtqpXbLBwR6jkQ_1771251660", "From": "=?utf-8?q?Tomasz_Kami=C5=84ski?= <tkaminsk@redhat.com>", "To": "libstdc++@gcc.gnu.org,\n\tgcc-patches@gcc.gnu.org", "Subject": "[PATCH] libstdc++: Correct requirements for\n atomic/cons/zero_padding.cc tests [PR124124].", "Date": "Mon, 16 Feb 2026 15:18:49 +0100", "Message-ID": "<20260216142057.973121-1-tkaminsk@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "z1Av0fqTkeo0nfBaRkevxfznsnrRgMoPk9gNRAdut1s_1771251660", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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 test uses atomic<T>::compare_exchange_strong and thus may require\nlibatomic and atomic-cmpxchg-word. The requirement on thread-fence and\nnon_pch were superfulous.\n\n\tPR libstdc++/124124\n\nlibstdc++-v3/ChangeLog:\n\n\t* testsuite/29_atomics/atomic/cons/zero_padding.cc: Adjust\n\tdg-require.\n---\nIt looks like I copied the dg-options from value_init.cc test, and\nforgotten to update them:\n * no_pch was due feature test macro test,\n * thread-fence was due use of the loads\nThe test however uses compare_exchange.\n\nTesting on x86_64-linux. zero_padding.cc test already passed.\nOK for trunk when test passes? \n\n libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc\nindex ad48d66de3a..3c8a4a8f428 100644\n--- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc\n+++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc\n@@ -1,6 +1,6 @@\n // { dg-do run { target c++11 } }\n-// { dg-require-thread-fence \"\" }\n-// { dg-add-options no_pch }\n+// { dg-require-atomic-cmpxchg-word \"\" }\n+// { dg-add-options libatomic }\n \n #include <atomic>\n #include <cstring>\n", "prefixes": [] }