Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808921/?format=api
{ "id": 808921, "url": "http://patchwork.ozlabs.org/api/patches/808921/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/a40a0553-df74-2213-afe4-1c8a530c1336@acm.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": "<a40a0553-df74-2213-afe4-1c8a530c1336@acm.org>", "list_archive_url": null, "date": "2017-09-01T18:12:05", "name": "[C++] missing set_class_binding call", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b5b20deda1031b5b93cb08e5a2188d07b2fb904e", "submitter": { "id": 9970, "url": "http://patchwork.ozlabs.org/api/people/9970/?format=api", "name": "Nathan Sidwell", "email": "nathan@acm.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/a40a0553-df74-2213-afe4-1c8a530c1336@acm.org/mbox/", "series": [ { "id": 1092, "url": "http://patchwork.ozlabs.org/api/series/1092/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=1092", "date": "2017-09-01T18:12:05", "name": "[C++] missing set_class_binding call", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1092/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808921/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808921/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-return-461321-incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "mailing list gcc-patches@gcc.gnu.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461321-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"kk35m8i8\"; dkim-atps=neutral", "sourceware.org; auth=none" ], "Received": [ "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkS533SrHz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 2 Sep 2017 04:12:21 +1000 (AEST)", "(qmail 93265 invoked by alias); 1 Sep 2017 18:12:15 -0000", "(qmail 93255 invoked by uid 89); 1 Sep 2017 18:12:14 -0000", "from mail-yw0-f179.google.com (HELO mail-yw0-f179.google.com)\n\t(209.85.161.179) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tFri, 01 Sep 2017 18:12:10 +0000", "by mail-yw0-f179.google.com with SMTP id h127so4621880ywf.3 for\n\t<gcc-patches@gcc.gnu.org>; Fri, 01 Sep 2017 11:12:09 -0700 (PDT)", "from ?IPv6:2620:10d:c0a3:20fb:7500:e7fb:4a6f:2254?\n\t([2620:10d:c091:200::1:d19a]) by smtp.googlemail.com with\n\tESMTPSA id l20sm291299ywb.24.2017.09.01.11.12.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256\n\tbits=128/128); Fri, 01 Sep 2017 11:12:07 -0700 (PDT)" ], "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:to\n\t:from:subject:message-id:date:mime-version:content-type; q=dns;\n\ts=default; b=w0CCKw84JYMGvSz7/Yg6kvUfPhhmvXmdIB2cO03T6zSAslUWtA\n\tTXV+QVM/9BGDuQGimmCdugG5eI0ICmfKYODcukFh9x6PAqIEVt4vqmklmAKadGXc\n\tEi46l2WiscvaSuiolGT/B9xrcfEvf2xwfAuT66iBI9SlP1HIvxjjxA/f0=", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:to\n\t:from:subject:message-id:date:mime-version:content-type; s=\n\tdefault; bh=2zPNBRA09XHx2ys4WTs5IJ3wJ20=; b=kk35m8i8qHxgAhN5atBw\n\tAZa+d3nJcJkKQ6sSmOZesBH2pw+iPFlfMYCPtbcKTok8gDLAv62jWnx/yrHpG/Yx\n\t1skmQu/ji00xGQJxEqN+wpQ7wnffvSOk0PBzQqD9s+Xy2GvQbT0p4qYTAmr7lNys\n\tDX0n/fKy5aC8egG7mgcAitc=", "Mailing-List": "contact gcc-patches-help@gcc.gnu.org; run by ezmlm", "Precedence": "bulk", "List-Id": "<gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>", "List-Archive": "<http://gcc.gnu.org/ml/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-help@gcc.gnu.org>", "Sender": "gcc-patches-owner@gcc.gnu.org", "X-Virus-Found": "No", "X-Spam-SWARE-Status": "No, score=-11.4 required=5.0 tests=BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=", "X-HELO": "mail-yw0-f179.google.com", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:sender:to:from:subject:message-id:date\n\t:user-agent:mime-version:content-language;\n\tbh=522hJcyYmNdxAPrHNFcgwvBO/YfXujgilF7YdMEHj+M=;\n\tb=BZZOqxL+alw5PioAgpEnHrH9raBbmCicsN0Olgqn5sbMnLW1uuBXph+4GQf4ucQbPe\n\ttW3/BfuU90YSA9q5QeED+sEDvnB2y68s/WeIsQODePnY6AYS8vJUU0BNA4JfAw6wsMqw\n\tABUiLVJosDkGKVCITBK6SYRTVdgj2b0+9JqLhfDtEJcUeZvoEZAYGjy4+cc5N/MbueM9\n\t6cB5ID1bIQmZS2PO2e5qrWryNP19aUDqdcnxOFCaS2o7E51B9UGa7YnufCnwl0ZoQFuV\n\tp4RumbVKAyl/2IQoTq1Jd00IS0+MbPFVRyLPCJgVINHgdBh6ftsCLpPVCDE3c4SePFXS\n\tzKpg==", "X-Gm-Message-State": "AHPjjUjIxMJGBSmUlHc4isij/VNamEpsq1bmEBq/xcKRao2y6p8njCn1\t9sFLyzXnXHxPSQ==", "X-Google-Smtp-Source": "ADKCNb642cwYoZovBTE14Nri1mz2ElQ48IQKcKQD0bMNYWdg54kUbmGlNZ2ctAlZ9djco8pCLl4i2w==", "X-Received": "by 10.129.163.8 with SMTP id a8mr2630143ywh.240.1504289528332;\n\tFri, 01 Sep 2017 11:12:08 -0700 (PDT)", "To": "GCC Patches <gcc-patches@gcc.gnu.org>", "From": "Nathan Sidwell <nathan@acm.org>", "Subject": "[C++ PATCH] missing set_class_binding call", "Message-ID": "<a40a0553-df74-2213-afe4-1c8a530c1336@acm.org>", "Date": "Fri, 1 Sep 2017 14:12:05 -0400", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.1", "MIME-Version": "1.0", "Content-Type": "multipart/mixed;\n\tboundary=\"------------7F39881F55B255F91AAA15D0\"" }, "content": "This patch adds a set_class_binding call that was missing from the \ntemplate class definition case.\n\nBrief experimentation shows undetectable difference in performance.\n\nApplied to trunk.\n\nnathan", "diff": "2017-09-01 Nathan Sidwell <nathan@acm.org>\n\n\t* class.c (finish_struct): Call set_class_bindings for the\n\ttemplate case too.\n\nIndex: class.c\n===================================================================\n--- class.c\t(revision 251604)\n+++ class.c\t(working copy)\n@@ -7188,6 +7188,7 @@ finish_struct (tree t, tree attributes)\n /* COMPLETE_TYPE_P is now true. */\n \n finish_struct_methods (t);\n+ set_class_bindings (t, TYPE_FIELDS (t));\n \n /* We need to emit an error message if this type was used as a parameter\n \t and it is an abstract type, even if it is a template. We construct\n", "prefixes": [ "C++" ] }