Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/833261/?format=api
{ "id": 833261, "url": "http://patchwork.ozlabs.org/api/1.2/patches/833261/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/3cf07f91-3617-cad6-82c1-a4a380d7ebf7@mentor.com/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<3cf07f91-3617-cad6-82c1-a4a380d7ebf7@mentor.com>", "list_archive_url": null, "date": "2017-11-02T09:17:45", "name": "[testsuite,committed] Fix scan-assembler patterns in i386/naked-{1,2}.c", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "cff0ad03707ea83041d7a4cd23bf431d50fa3d62", "submitter": { "id": 9225, "url": "http://patchwork.ozlabs.org/api/1.2/people/9225/?format=api", "name": "Tom de Vries", "email": "Tom_deVries@mentor.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/3cf07f91-3617-cad6-82c1-a4a380d7ebf7@mentor.com/mbox/", "series": [ { "id": 11457, "url": "http://patchwork.ozlabs.org/api/1.2/series/11457/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=11457", "date": "2017-11-02T09:17:45", "name": "[testsuite,committed] Fix scan-assembler patterns in i386/naked-{1,2}.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/11457/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/833261/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/833261/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-return-465714-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-465714-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=\"VsNRc9Nm\"; 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 3ySKJ81BwRz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 2 Nov 2017 20:18:14 +1100 (AEDT)", "(qmail 6985 invoked by alias); 2 Nov 2017 09:18:04 -0000", "(qmail 5421 invoked by uid 89); 2 Nov 2017 09:18:03 -0000", "from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Thu, 02 Nov 2017 09:17:56 +0000", "from nat-ies.mentorg.com ([192.94.31.2]\n\thelo=SVR-IES-MBX-04.mgc.mentorg.com)\tby relay1.mentorg.com\n\twith esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256)\tid\n\t1eABdJ-00030H-4V from Tom_deVries@mentor.com ;\n\tThu, 02 Nov 2017 02:17:53 -0700", "from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com\n\t(139.181.222.4) with Microsoft SMTP Server (TLS) id\n\t15.0.1320.4; Thu, 2 Nov 2017 09:17:48 +0000" ], "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\n\t:subject:to:cc:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type; q=dns; s=default; b=yVvNO1klQVbuCkjVr\n\tAqod5L337MwdVbUj+dQ9KTpJajF/Ne3/pKjcvvu+UGXebWwmozGGETwB5efuT4Xu\n\tJzehgeNLwTqQnoLaJwWsBSFzVDs8uoRvNNwbZ0Y6xACCmKMI6DJv7npwk1LD9iqG\n\t/srgB3atv7C14tMaJR38iWznmk=", "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\n\t:subject:to:cc:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type; s=default; bh=gYcZaAGE3HhJu+9RpgoGc4Q\n\t5rvA=; b=VsNRc9NmzSrk6k04MITvsuiNZlR0zqqq6xnAKCcbVekl+Hr9FFpjKHf\n\tTJDTW1s8rGia9u9AeHCcmi9pkGr0+VrzEqJINEpiPix5qlk3do854DE62MbCcU5v\n\ta6R8cgum68FSBG1UCvBBS3MvMDdaFvhFquq2kKRR1nvJ2zVrHO/M=", "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=-24.7 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=naked, uros", "X-HELO": "relay1.mentorg.com", "Subject": "[testsuite, committed] Fix scan-assembler patterns in i386/naked-{1,\n\t2}.c", "To": "Uros Bizjak <ubizjak@gmail.com>,\n\t\"gcc-patches@gcc.gnu.org\"\t<gcc-patches@gcc.gnu.org>", "CC": "Daniel Santos <daniel.santos@pobox.com>", "References": "<CAFULd4bsPgS9mhT4nXAqk2N9Atv-FNhfdHf_jggf_GM0pdGZSg@mail.gmail.com>", "From": "Tom de Vries <Tom_deVries@mentor.com>", "Message-ID": "<3cf07f91-3617-cad6-82c1-a4a380d7ebf7@mentor.com>", "Date": "Thu, 2 Nov 2017 10:17:45 +0100", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.3.0", "MIME-Version": "1.0", "In-Reply-To": "<CAFULd4bsPgS9mhT4nXAqk2N9Atv-FNhfdHf_jggf_GM0pdGZSg@mail.gmail.com>", "Content-Type": "multipart/mixed;\n\tboundary=\"------------17A19EA4F1224EBBAF4EE20E\"", "X-ClientProxiedBy": "svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tSVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4)" }, "content": "[ was: Re: [PATCH, i386]: Implement attribute ((naked)) ]\n\nOn 07/30/2017 10:14 PM, Uros Bizjak wrote:\n> Index: testsuite/gcc.target/i386/naked-1.c\n\n> +/* { dg-final { scan-assembler \"ud2\" } } */\n> +/* { dg-final { scan-assembler-not \"ret\" } } */\n\n> Index: testsuite/gcc.target/i386/naked-2.c\n\n> +/* { dg-final { scan-assembler-not \"push\" } } */\n> +/* { dg-final { scan-assembler-not \"pop\" } } */\n\nHi,\n\nthese single-word scan patterns can easily be triggered by running the \ntests with a source directory containing these words.\n\nCommitted as obvious.\n\nThanks,\n- Tom", "diff": "Fix scan-assembler patterns in i386/naked-{1,2}.c\n\n2017-11-02 Tom de Vries <tom@codesourcery.com>\n\n\tPR testsuite/82415\n\t* gcc.target/i386/naked-1.c: Make scan patterns more precise.\n\t* gcc.target/i386/naked-2.c: Same.\n\n---\n gcc/testsuite/gcc.target/i386/naked-1.c | 4 ++--\n gcc/testsuite/gcc.target/i386/naked-2.c | 4 ++--\n 2 files changed, 4 insertions(+), 4 deletions(-)\n\ndiff --git a/gcc/testsuite/gcc.target/i386/naked-1.c b/gcc/testsuite/gcc.target/i386/naked-1.c\nindex cf62bb1..07bb10e 100644\n--- a/gcc/testsuite/gcc.target/i386/naked-1.c\n+++ b/gcc/testsuite/gcc.target/i386/naked-1.c\n@@ -10,5 +10,5 @@ foo (void)\n __asm__ (\"# naked\");\n }\n /* { dg-final { scan-assembler \"# naked\" } } */\n-/* { dg-final { scan-assembler \"ud2\" } } */\n-/* { dg-final { scan-assembler-not \"ret\" } } */\n+/* { dg-final { scan-assembler \"(?n)^\\\\s*ud2$\" } } */\n+/* { dg-final { scan-assembler-not \"(?n)^\\\\s*ret$\" } } */\ndiff --git a/gcc/testsuite/gcc.target/i386/naked-2.c b/gcc/testsuite/gcc.target/i386/naked-2.c\nindex adcd712..2da8b81 100644\n--- a/gcc/testsuite/gcc.target/i386/naked-2.c\n+++ b/gcc/testsuite/gcc.target/i386/naked-2.c\n@@ -10,5 +10,5 @@ foo (void)\n __asm__ (\"# naked\");\n }\n /* { dg-final { scan-assembler \"# naked\" } } */\n-/* { dg-final { scan-assembler-not \"push\" } } */\n-/* { dg-final { scan-assembler-not \"pop\" } } */\n+/* { dg-final { scan-assembler-not \"(?n)^\\\\s*push\" } } */\n+/* { dg-final { scan-assembler-not \"(?n)^\\\\s*pop\" } } */\n", "prefixes": [ "testsuite", "committed" ] }