Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810574/?format=api
{ "id": 810574, "url": "http://patchwork.ozlabs.org/api/patches/810574/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709061456050.14191@zhemvz.fhfr.qr/", "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": "<alpine.LSU.2.20.1709061456050.14191@zhemvz.fhfr.qr>", "list_archive_url": null, "date": "2017-09-06T12:56:58", "name": "Adjust gcc.c-torture/execute/20050604-1.c", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "f7940738ff1095c928abc057a12fdce4a66d81b9", "submitter": { "id": 4338, "url": "http://patchwork.ozlabs.org/api/people/4338/?format=api", "name": "Richard Biener", "email": "rguenther@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709061456050.14191@zhemvz.fhfr.qr/mbox/", "series": [ { "id": 1796, "url": "http://patchwork.ozlabs.org/api/series/1796/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=1796", "date": "2017-09-06T12:56:58", "name": "Adjust gcc.c-torture/execute/20050604-1.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1796/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810574/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810574/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-return-461601-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-461601-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=\"tsS7kZwR\"; 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 3xnNs137HCz9sBd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 22:57:09 +1000 (AEST)", "(qmail 66037 invoked by alias); 6 Sep 2017 12:57:02 -0000", "(qmail 66028 invoked by uid 89); 6 Sep 2017 12:57:02 -0000", "from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tWed, 06 Sep 2017 12:57:01 +0000", "from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254])\tby\n\tmx1.suse.de (Postfix) with ESMTP id 2A4F8ABDF\tfor\n\t<gcc-patches@gcc.gnu.org>; Wed, 6 Sep 2017 12:56:59 +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=l/3DqlGoxwiDyuiyneRFOKpl7//GCg1IvKmQ75qNNEzsbxGlGEWSi\n\tV0NmpZl2wHTrOl9Su98oZRpxOvenE8BERX2K1P0kXIVpkJT7JEll/yrotwHLD3iU\n\tkI20QzyDyMuy2jwvkJHkuAyTy6RVzVYKSW6pNTIeIvBSIznJZlsy54=", "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=dmXUwiTPK8fckfMGBD83fMLJQI4=; b=tsS7kZwRIi6MgreFR9aI\n\tOlpb2h7uxhKgdaU7Flbz5NVZfm13LhfBzow913GC5cr94BJMudTnjFgPN3mpANpg\n\tfmCU8Rg+55PMwh5cesiIHDOtOjj6jc5KZpeBX42+ZoHom0hYx43EIBanEhZrQkTo\n\tn9uOfo8zdwEsNCxmA6D73/s=", "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.9 required=5.0 tests=BAYES_00, GIT_PATCH_2,\n\tGIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=vf, u.s, us", "X-HELO": "mx1.suse.de", "Date": "Wed, 6 Sep 2017 14:56:58 +0200 (CEST)", "From": "Richard Biener <rguenther@suse.de>", "To": "gcc-patches@gcc.gnu.org", "Subject": "[PATCH] Adjust gcc.c-torture/execute/20050604-1.c", "Message-ID": "<alpine.LSU.2.20.1709061456050.14191@zhemvz.fhfr.qr>", "User-Agent": "Alpine 2.20 (LSU 67 2015-01-07)", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=US-ASCII" }, "content": "When fiddling around with vector lowering I found the following\nadjusted testcase helpful testing proper vector lowering of\nword_mode vector plus.\n\nTested on x86_64-unknown-linux-gnu, applied.\n\nRichard.\n\n2017-09-06 Richard Biener <rguenther@suse.de>\n\n\t* gcc.c-torture/execute/20050604-1.c: Adjust to be a better\n\ttest for correctness of vector lowering.", "diff": "Index: gcc/testsuite/gcc.c-torture/execute/20050604-1.c\n===================================================================\n--- gcc/testsuite/gcc.c-torture/execute/20050604-1.c\t(revision 251790)\n+++ gcc/testsuite/gcc.c-torture/execute/20050604-1.c\t(working copy)\n@@ -6,7 +6,7 @@\n \n extern void abort (void);\n \n-typedef short v4hi __attribute__ ((vector_size (8)));\n+typedef unsigned short v4hi __attribute__ ((vector_size (8)));\n typedef float v4sf __attribute__ ((vector_size (16)));\n \n union\n@@ -26,7 +26,7 @@ foo (void)\n {\n unsigned int i;\n for (i = 0; i < 2; i++)\n- u.v += (v4hi) { 12, 14 };\n+ u.v += (v4hi) { 12, 32768 };\n for (i = 0; i < 2; i++)\n v.v += (v4sf) { 18.0, 20.0, 22 };\n }\n@@ -35,7 +35,7 @@ int\n main (void)\n {\n foo ();\n- if (u.s[0] != 24 || u.s[1] != 28 || u.s[2] || u.s[3])\n+ if (u.s[0] != 24 || u.s[1] != 0 || u.s[2] || u.s[3])\n abort ();\n if (v.f[0] != 36.0 || v.f[1] != 40.0 || v.f[2] != 44.0 || v.f[3] != 0.0)\n abort ();\n", "prefixes": [] }