Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816359/?format=api
{ "id": 816359, "url": "http://patchwork.ozlabs.org/api/patches/816359/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20170920163630.GA31326@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": "<20170920163630.GA31326@redhat.com>", "list_archive_url": null, "date": "2017-09-20T16:36:30", "name": "Fix failing C++17 test", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "851eaf92124491f537900eea1b8130bfc8e14906", "submitter": { "id": 48004, "url": "http://patchwork.ozlabs.org/api/people/48004/?format=api", "name": "Jonathan Wakely", "email": "jwakely@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20170920163630.GA31326@redhat.com/mbox/", "series": [ { "id": 4175, "url": "http://patchwork.ozlabs.org/api/series/4175/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=4175", "date": "2017-09-20T16:36:30", "name": "Fix failing C++17 test", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4175/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816359/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816359/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-return-462620-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-462620-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=\"jgcuVtIp\"; dkim-atps=neutral", "sourceware.org; auth=none", "ext-mx02.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com", "ext-mx02.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=jwakely@redhat.com" ], "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 3xy54266wBz9t2V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 02:36:50 +1000 (AEST)", "(qmail 27398 invoked by alias); 20 Sep 2017 16:36:35 -0000", "(qmail 27341 invoked by uid 89); 20 Sep 2017 16:36:33 -0000", "from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tWed, 20 Sep 2017 16:36:32 +0000", "from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.phx2.redhat.com\n\t[10.5.11.13])\t(using TLSv1.2 with cipher AECDH-AES256-SHA\n\t(256/256 bits))\t(No client certificate requested)\tby\n\tmx1.redhat.com (Postfix) with ESMTPS id 4DF4A806A7;\n\tWed, 20 Sep 2017 16:36:31 +0000 (UTC)", "from localhost (unknown [10.33.36.48])\tby smtp.corp.redhat.com\n\t(Postfix) with ESMTP id 014CE60635;\n\tWed, 20 Sep 2017 16:36:30 +0000 (UTC)" ], "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:date\n\t:from:to:subject:message-id:mime-version:content-type; q=dns; s=\n\tdefault; b=twHuoSWeKOPWZnAVZM2SrFWWa/dZT0wFcps3pt6VX5zUih4IEN8Pv\n\tsBiB4qk+Ux0bbg+lazh7tvjGMtKis2LtdwmagKiopkRT47KYTp54vE2hEAF7rR3r\n\tDlD6QYrscxQB2/qwnLmz5oVcIFufQMb8ObfYB8K+ERa/r+Zw3AQXJg=", "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:date\n\t:from:to:subject:message-id:mime-version:content-type; s=\n\tdefault; bh=GHS8mA8SsALqTz2Ml8fx0umQQHw=; b=jgcuVtIphGmTLhW0cxgj\n\tCH0nH3HMZj4rqUs4hQONan437D+Mtw3JIFe7Afwy/ddLW4w8h8+MkML016nIIn/Z\n\tCiyihai1Zxs8xql43pbutZDVzaN0H+S1EscPYet/NKXN1H5OziGjBD8+gpBT/r5X\n\tecQoXUBEpXtdC51iaNXz4zw=", "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=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_HELO_PASS autolearn=ham version=3.3.2 spammy=", "X-Spam-User": "qpsmtpd, 2 recipients", "X-HELO": "mx1.redhat.com", "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 4DF4A806A7", "Date": "Wed, 20 Sep 2017 17:36:30 +0100", "From": "Jonathan Wakely <jwakely@redhat.com>", "To": "libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org", "Subject": "[PATCH] Fix failing C++17 test", "Message-ID": "<20170920163630.GA31326@redhat.com>", "MIME-Version": "1.0", "Content-Type": "multipart/mixed; boundary=\"gBBFr7Ir9EOA20Yy\"", "Content-Disposition": "inline", "X-Clacks-Overhead": "GNU Terry Pratchett", "User-Agent": "Mutt/1.9.0 (2017-09-02)" }, "content": "The DejaGnu directives were in the wrong order, so this test was\nUNSUPPORTED and the error went unnoticed. Fixed like so.\n\n\t* testsuite/24_iterators/range_access_cpp17.cc: Fix order of dg-do\n\tand dg-options directives. Fix invalid test.\n\nTested powerpc64le-linux, committed to trunk.\ncommit 0365d53484cabf9eb1a49057c98f78b6b09fb513\nAuthor: Jonathan Wakely <jwakely@redhat.com>\nDate: Wed Sep 20 16:37:00 2017 +0100\n\n Fix failing C++17 test\n \n * testsuite/24_iterators/range_access_cpp17.cc: Fix order of dg-do\n and dg-options directives. Fix invalid test.", "diff": "diff --git a/libstdc++-v3/testsuite/24_iterators/range_access_cpp17.cc b/libstdc++-v3/testsuite/24_iterators/range_access_cpp17.cc\nindex 2402fa8c8ff..cb6b1c41619 100644\n--- a/libstdc++-v3/testsuite/24_iterators/range_access_cpp17.cc\n+++ b/libstdc++-v3/testsuite/24_iterators/range_access_cpp17.cc\n@@ -1,5 +1,5 @@\n-// { dg-do compile { target c++17 } }\n // { dg-options \"-std=gnu++17\" }\n+// { dg-do compile { target c++17 } }\n \n // Copyright (C) 2017 Free Software Foundation, Inc.\n //\n@@ -47,7 +47,7 @@ void\n test03()\n {\n using std::reverse_iterator;\n- static std::initializer_list<int> il{1};\n+ static constexpr std::initializer_list<int> il{1};\n static_assert(std::cbegin(il) == il.begin());\n static_assert(std::cend(il) == il.end());\n static_assert(std::rbegin(il) == reverse_iterator<const int*>(il.end()));\n", "prefixes": [] }