{"id":807461,"url":"http://patchwork.ozlabs.org/api/1.2/patches/807461/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/8760d51n04.fsf@linaro.org/","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":"<8760d51n04.fsf@linaro.org>","list_archive_url":null,"date":"2017-08-30T08:24:43","name":"[rs6000] int->machine_mode in rs6000-c.c","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"93882310a3e205171a19f9d501e17a438e6159d3","submitter":{"id":5450,"url":"http://patchwork.ozlabs.org/api/1.2/people/5450/?format=json","name":"Richard Sandiford","email":"richard.sandiford@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/8760d51n04.fsf@linaro.org/mbox/","series":[{"id":547,"url":"http://patchwork.ozlabs.org/api/1.2/series/547/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=547","date":"2017-08-30T08:24:43","name":"[rs6000] int->machine_mode in rs6000-c.c","version":1,"mbox":"http://patchwork.ozlabs.org/series/547/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807461/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807461/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461135-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-461135-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=\"rWR50HwA\"; 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 3xhz8V74jdz9t0M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 18:25:13 +1000 (AEST)","(qmail 19013 invoked by alias); 30 Aug 2017 08:24:55 -0000","(qmail 18895 invoked by uid 89); 30 Aug 2017 08:24:54 -0000","from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com)\n\t(74.125.82.54) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tWed, 30 Aug 2017 08:24:52 +0000","by mail-wm0-f54.google.com with SMTP id u26so5731909wma.0 for\n\t<gcc-patches@gcc.gnu.org>; Wed, 30 Aug 2017 01:24:51 -0700 (PDT)","from localhost ([95.145.139.63]) by smtp.gmail.com with ESMTPSA id\n\t7sm3639147wrd.22.2017.08.30.01.24.47 for\n\t<gcc-patches@gcc.gnu.org> (version=TLS1_2\n\tcipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 30 Aug 2017 01:24:48 -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:from\n\t:to:subject:date:message-id:mime-version:content-type; q=dns; s=\n\tdefault; b=O3M7XXYC2IsSocJi2D3RZI9h1myA5fvHR4R+frVXyE2MDVj34b04T\n\tWPF/XiLySrGLgJHby0T3rFmZBIfh9oE9a3Bp/8Rb8hnvfUHXjDF4mnVX5CtNcwZM\n\tOSS8/6bkb+INRy7F+N6YyaxRxd0dR1q0MXSDcZK+SLzcSemEOm8hYU=","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:from\n\t:to:subject:date:message-id:mime-version:content-type; s=\n\tdefault; bh=ivfRv9kiuUG0fX/oLiJdfWC6H5o=; b=rWR50HwAmBhMhloN9chn\n\tEXE18eWoEz56f3ydFBL13s+9Lb55N3o+FLHF1a1eEBrMRoSZS4FhFAdUL9kdZeeS\n\tvy9TkJ69teCHLTPiCKNBI+o0ZBTZn+v1VjmQGi19f0PfFbpZVmw8NwcdzaEffEmQ\n\t///MNq81IEjbzPoqBSENV+U=","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.3 required=5.0 tests=AWL, BAYES_00,\n\tGIT_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-wm0-f54.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:from:to:mail-followup-to:subject:date:message-id\n\t:user-agent:mime-version;\n\tbh=KMBdrh7zfRYNtT6l2oK2Kh2gl9hdrQ/HG3vhyoQi5yU=;\n\tb=bwXVzddwHqgEgm/fKrWr37P77MLQktYVOG0moYePz3LtEIattY/LFysE2Btfy3z2Gp\n\tVNpyajYSNeYq7biRRCx0pa48pXcrAjtPmB1J30o/vy7UBx9MdtwZ/QwWerq4MkZWC8wC\n\tx+yaRw5PELUvG0JhHo7vMxaRtmN2+j7TG27BG7mKEPYxhAUkmuVE7WjYf5VBJLi57Cmz\n\t9oUI8i8oGvuyNC7ZOrK5Aue405zFILrFr0jAzFlcebuM8vXrNVNrioFCuydH7CAW5KXS\n\tZjWmKvJEMzQxHGDB90AXmU6dFbHmh84cBOt+KO57ZaR7X3pQLEuBhkUXBnYW+7ql4kaN\n\tb9gw==","X-Gm-Message-State":"AHYfb5iEI59SFGjdHwPzkDX6ZdgtR4hQHnPjRlueU1IV/iwjqMobkJh4\t5M9dkEm2cYb4ijW2m3Rj0g==","X-Received":"by 10.28.186.198 with SMTP id k189mr702961wmf.26.1504081489150;\n\tWed, 30 Aug 2017 01:24:49 -0700 (PDT)","From":"Richard Sandiford <richard.sandiford@linaro.org>","To":"gcc-patches@gcc.gnu.org","Mail-Followup-To":"gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org","Subject":"[rs6000] int->machine_mode in rs6000-c.c","Date":"Wed, 30 Aug 2017 09:24:43 +0100","Message-ID":"<8760d51n04.fsf@linaro.org>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)","MIME-Version":"1.0","Content-Type":"text/plain"},"content":"Tested on powerpc64le-linux-gnu and installed as obvious.\n\n\n2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>\n\ngcc/\n\t* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):\n\tUse machine_mode rather than int for arg1_mode.","diff":"Index: gcc/config/rs6000/rs6000-c.c\n===================================================================\n--- gcc/config/rs6000/rs6000-c.c\t2017-08-30 09:17:07.677166653 +0100\n+++ gcc/config/rs6000/rs6000-c.c\t2017-08-30 09:21:31.139741443 +0100\n@@ -6729,7 +6729,7 @@ altivec_resolve_overloaded_builtin (loca\n     else if (fcode == P9V_BUILTIN_VEC_VSIEDP)\n       {\n \tint overloaded_code;\n-\tint arg1_mode = TYPE_MODE (types[0]);\n+\tmachine_mode arg1_mode = TYPE_MODE (types[0]);\n \n \tif (nargs != 2)\n \t  {\n","prefixes":["rs6000"]}