Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218271/?format=api
{ "id": 2218271, "url": "http://patchwork.ozlabs.org/api/patches/2218271/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260331202354.326179-1-polacek@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": "<20260331202354.326179-1-polacek@redhat.com>", "list_archive_url": null, "date": "2026-03-31T20:23:54", "name": "[pushed] c++/reflection: update eval_size_of comment", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "598d06f328b452e5e91ccc6adc2ac0fe2aa1c722", "submitter": { "id": 14370, "url": "http://patchwork.ozlabs.org/api/people/14370/?format=api", "name": "Marek Polacek", "email": "polacek@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260331202354.326179-1-polacek@redhat.com/mbox/", "series": [ { "id": 498248, "url": "http://patchwork.ozlabs.org/api/series/498248/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498248", "date": "2026-03-31T20:23:54", "name": "[pushed] c++/reflection: update eval_size_of comment", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498248/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218271/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218271/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=cWeozQhT;\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=cWeozQhT", "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.133.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 4flfjc0vhHz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 07:24:35 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id D172D4BB3B81\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 20:24:28 +0000 (GMT)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 1DE8B4BA2E0E\n for <gcc-patches@gcc.gnu.org>; Tue, 31 Mar 2026 20:24:02 +0000 (GMT)", "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-26-GKudgp_JMZGtNEyObARQLQ-1; Tue,\n 31 Mar 2026 16:23:59 -0400", "from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93])\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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id D3E961956055\n for <gcc-patches@gcc.gnu.org>; Tue, 31 Mar 2026 20:23:58 +0000 (UTC)", "from pdp-11.lan (unknown [10.22.80.3])\n by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 71A17180036E\n for <gcc-patches@gcc.gnu.org>; Tue, 31 Mar 2026 20:23:58 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org D172D4BB3B81", "OpenDKIM Filter v2.11.0 sourceware.org 1DE8B4BA2E0E" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 1DE8B4BA2E0E", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 1DE8B4BA2E0E", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774988642; cv=none;\n b=uVpijsoMjgkLEp2M1XtYIyR4UNT31E/6S8AHar/LAS0gASu2AF+vP9TiznF4duC8sSqBFnAvBVwEhFvKW6qffIfSwCEH2rLy8pXHOv+rRo08s1huUCFWgFkMIA6myTB+P0vRUGV8tTQF3XO6ZvahnOzx6udwgwxldK4mhUbP9kw=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774988642; c=relaxed/simple;\n bh=c8/JhEkNnJYamio4J65H7n9//e4TWymXVTwf8Y71nT8=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=BFyq3Ku1gM8bD4q+Cy3hBmdiaU3/sMTppshvlVwp6MxadViHzItFNfDKiMRy3k/XtxCPzSOdLXAcFhKSU+PG/QuCCCMm24gSO634fRJSVizq/OX5K7cqCDJur6g74hPsPLmG818FHmxvJjDD7UwWz7UE/Cbjks1ykklbcU5lM8I=", "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=1774988641;\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=5uinsOFTrueRmSUIM5pyQz1t4f6aSkL8x80RPb02TXE=;\n b=cWeozQhTVBn2tOcrzpLyMzt2tIxsEomop2WGKNuPwYgd5ARs+4ZbE+Lc21zrbm/UVN1/In\n sJPFu3n1D9uF3TSYM6CmkYHu9xbn3akeut8/Jt/oX74UCcymIi1B0qGtqG/LgdXmPEOPIR\n 4slZMb0aXN8PJus6Py+/YwgLwP2VaKE=", "X-MC-Unique": "GKudgp_JMZGtNEyObARQLQ-1", "X-Mimecast-MFC-AGG-ID": "GKudgp_JMZGtNEyObARQLQ_1774988639", "From": "Marek Polacek <polacek@redhat.com>", "To": "GCC Patches <gcc-patches@gcc.gnu.org>", "Subject": "[pushed] c++/reflection: update eval_size_of comment", "Date": "Tue, 31 Mar 2026 16:23:54 -0400", "Message-ID": "<20260331202354.326179-1-polacek@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.93", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "OnX3rid6HjaTyZLdtjCsF0QoK_ZX8utxWUpNrsRUYJA_1774988639", "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": "Applying to trunk.\n\n-- >8 --\nThe wording was changed by the fix for NB US 105-166 (C++26 CD).\n\ngcc/cp/ChangeLog:\n\n\t* reflect.cc (eval_offset_of): Update comment.\n---\n gcc/cp/reflect.cc | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)\n\n\nbase-commit: a7269d7d5168046c797b8fb05bedabdd53453c3e", "diff": "diff --git a/gcc/cp/reflect.cc b/gcc/cp/reflect.cc\nindex 9bd55c5f420..405790d5f35 100644\n--- a/gcc/cp/reflect.cc\n+++ b/gcc/cp/reflect.cc\n@@ -3173,9 +3173,9 @@ eval_offset_of (location_t loc, const constexpr_ctx *ctx, tree r,\n }\n \n /* Process std::meta::size_of.\n- Returns: If r represents\n- -- a non-static data member of type T,\n- -- a data member description (T,N,A,W,NUA), or\n+ Returns: If\n+ -- r represents a non-static data member of type T or a data member\n+\tdescription (T,N,A,W,NUA) or\n -- dealias(r) represents a type T,\n then sizeof(T) if T is not a reference type and size_of(add_pointer(^^T))\n otherwise. Otherwise, size_of(type_of(r)).\n", "prefixes": [ "pushed" ] }