{"id":809966,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809966/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/f38a4192-666e-08bd-49c2-e4af51c152e0@mentor.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/projects/17/?format=json","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":"<f38a4192-666e-08bd-49c2-e4af51c152e0@mentor.com>","list_archive_url":null,"date":"2017-09-05T06:43:31","name":"[testsuite,committed] Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"c6b8278cea43ec6dcaab8851e1b8d23f21e5ed03","submitter":{"id":9225,"url":"http://patchwork.ozlabs.org/api/1.2/people/9225/?format=json","name":"Tom de Vries","email":"Tom_deVries@mentor.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/f38a4192-666e-08bd-49c2-e4af51c152e0@mentor.com/mbox/","series":[{"id":1495,"url":"http://patchwork.ozlabs.org/api/1.2/series/1495/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=1495","date":"2017-09-05T06:43:31","name":"[testsuite,committed] Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c","version":1,"mbox":"http://patchwork.ozlabs.org/series/1495/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809966/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809966/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461453-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-461453-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=\"YWydVYj5\"; 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 3xmcd25c05z9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 16:44:05 +1000 (AEST)","(qmail 88837 invoked by alias); 5 Sep 2017 06:43:57 -0000","(qmail 88712 invoked by uid 89); 5 Sep 2017 06:43:47 -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; Tue, 05 Sep 2017 06:43:41 +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 esmtp id 1dp7aE-0002Fn-DK from Tom_deVries@mentor.com ;\n\tMon, 04 Sep 2017 23:43:38 -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.1263.5; Tue, 5 Sep 2017 07:43:34 +0100"],"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:references:cc:from:message-id:date:mime-version\n\t:in-reply-to:content-type; q=dns; s=default; b=XVpps8SZkvT2z3qBX\n\tTndNFzdE9fFNGqlYfoMIjlQ0Smj2v/5xaOk0uK95LZga8Z+klf9ghPBB4Wl6jv0h\n\tUoMAGD1PmeZZItOL6a0xUoOaufrgjqoWN/CaE4Y1SvMN+M14E3AS6oY2CTsQ8kti\n\tHVVf1nOxgVy1exilWFXJXlwL2w=","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:references:cc:from:message-id:date:mime-version\n\t:in-reply-to:content-type; s=default; bh=rqeR9hhJw0fNGdnJJ0jMYTV\n\tLB0Q=; b=YWydVYj5/5pxh8SuDnZkJ26LLop6By03qRUuqkI3ybhTreqUAMe5+8R\n\tu1dro0wWtQV5Px09IXgUqZTX0bte6MaabKsJYPqgcTun8hw8A4CrLqU7YziS0xq6\n\tjsXaHbzwzzurV03Pw/tu+1bGbe0e2nPSh2g2qlAGc+NH6mHqpdIE=","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.6 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=fn6","X-HELO":"relay1.mentorg.com","Subject":"[testsuite, committed] Fix call arguments mismatch in\n\tgcc.c-torture/compile/pr82052.c","To":"gcc-patches <gcc-patches@gcc.gnu.org>","References":"<bebd98f6-20cf-e6b7-0b0e-e25ab017d9c5@redhat.com>","CC":"Jeff Law <law@redhat.com>","From":"Tom de Vries <Tom_deVries@mentor.com>","Message-ID":"<f38a4192-666e-08bd-49c2-e4af51c152e0@mentor.com>","Date":"Tue, 5 Sep 2017 08:43:31 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<bebd98f6-20cf-e6b7-0b0e-e25ab017d9c5@redhat.com>","Content-Type":"multipart/mixed;\n\tboundary=\"------------554698CA918A5B85A77D70A0\"","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][committed] Always initialize hash table elements ]\n\nOn 09/01/2017 05:39 PM, Jeff Law wrote:\n\n>              * gcc.c-torture/compile/pr82052.c: New test.\n\n> diff --git a/gcc/testsuite/gcc.c-torture/compile/pr82052.c b/gcc/testsuite/gcc.c-torture/compile/pr82052.c\n\n> +short fn2() {}\n\n> +  x = fn5(f && fn2(t46 = g = t52,\n> +                   fn6(fn7(fn8(f, fn9(fn10(t51, f, t53, t53)))) < t21, t53)));\n\nHi,\n\nthis patch fixes a call arguments mismatch in \ngcc.c-torture/compile/pr82052.c when compiling for nvptx.\n\nI've verified that the test-case is still failing when the patch for \nPR82052 is reverted.\n\nCommitted.\n\nThanks,\n- Tom","diff":"Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c\n\n2017-09-04  Tom de Vries  <tom@codesourcery.com>\n\n\tPR tree-optimization/82052\n\t* gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to\n\tcall in fn11.\n\n---\n gcc/testsuite/ChangeLog                       | 6 ++++++\n gcc/testsuite/gcc.c-torture/compile/pr82052.c | 2 +-\n 2 files changed, 7 insertions(+), 1 deletion(-)\n\ndiff --git a/gcc/testsuite/gcc.c-torture/compile/pr82052.c b/gcc/testsuite/gcc.c-torture/compile/pr82052.c\nindex 4441985..3763161 100644\n--- a/gcc/testsuite/gcc.c-torture/compile/pr82052.c\n+++ b/gcc/testsuite/gcc.c-torture/compile/pr82052.c\n@@ -20,7 +20,7 @@ uint16_t t35[][7][2];\n static uint8_t t41;\n char z[][8][3];\n char fn1(char p1, int p2) { return p1 < 0 ?: p1 >> p2; }\n-short fn2() {}\n+short fn2(int a, uint16_t b) {}\n void fn3(uint8_t p1) { d = d >> 8 ^ c[(d ^ p1) & 5]; }\n void fn4(uint32_t p1, int p2) {\n   int e;\n","prefixes":["testsuite","committed"]}