From patchwork Wed Aug 30 08:24:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 111276 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp556350ybm; Wed, 30 Aug 2017 01:25:19 -0700 (PDT) X-Received: by 10.84.229.70 with SMTP id d6mr990854pln.214.1504081519707; Wed, 30 Aug 2017 01:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504081519; cv=none; d=google.com; s=arc-20160816; b=RF1GFWtsj4CHdUvoc9rzF/b27Mi8pk8apuMYwY9wwpfk+pmCvZCFoqhL+dTW/MKttJ j4gGe4OpqsGyMemGDJVUHKbeuRMp24ot1n2o/LnUxsbRtUnrMUpMsgCkE3CAm1ebhEaA of0D8MqUyWyvdsFlF0ZRq3OQsIy8MiIJKKjyinE9mvQGrk0AWxszCvmHPU0EJd7FHFfo 4BC1eWaPsJCUx3bvtlhP3nAHMNT/iYpEsv5eOzpT4SV1icc/1udcn1+qaeajLWeCfAp7 Glf0//EXYwrgD86P5CqVq9Hv+s2JOa3aaD5d3GjDafpt6Bc5I9By22QN/AHunNfYAqR2 kzyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:message-id:date:subject:mail-followup-to:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=KMBdrh7zfRYNtT6l2oK2Kh2gl9hdrQ/HG3vhyoQi5yU=; b=m1P57WdF5NC0M9eeWvqn3eQ2wsKDJofAyzcNrg9xS364DMiq/j/1jtj1aXpMbX0pLr 5+QPTz1dOHzjSFqJsIGfRZJUSp4YiDEJ7cFt2hkB82oKQ6Ht7ihpfZnSKrlluWtzc7VJ AGph1QLzVH8N4czqVUBUlT1hNDOdlttaUX9aBldvTfT8pxHc+/lOeg+j2QGno3iskk9g w1mAwh/1Qa/cLDjzp5LHFqqtdvzeSnfKZ+NMZpziNnMXssYMogzNe0kAyzVDFF0MfU9G vt73Zs40RRXKGCm04H7uny98QvJwWf45wBgxOdZt9zlDu6dk837ytYyPRnQmHiywGOxU ba+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZlplXxhp; spf=pass (google.com: domain of gcc-patches-return-461135-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-461135-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id k70si1826586pgc.482.2017.08.30.01.25.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 01:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-461135-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZlplXxhp; spf=pass (google.com: domain of gcc-patches-return-461135-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-461135-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=vHcWjyqzVu/MjCL0QYtCb+aH5EW1SJcX8uj2bmjJvvRy4WyG0ZyE+ XiuKX0K3tHfmkXm1pJfSK0iGdJM2zhWq5SvBWZppFlId/edKOcCciZglffBYLipx WC9NX9iSg8PNwkcCTkvpJtV4lvlV9MmGpdQI+/UIkZB87XIuFgZcFI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=ivfRv9kiuUG0fX/oLiJdfWC6H5o=; b=ZlplXxhp598dYIaM/KMl xoEByGL/ozdU/3qSdYDCcQCuTe8pweKIBhQ9J6qtDCGDCTlF5hLNPDpR2bJIh//F 3heyTAWY5BeGTyUfLUsZ0cRY9MGvIIicFNfrFpWhRJ01sxOv/qvd3zCN89IPNQ8K Jvrqd5CBjQ6hMPVWYNxEjxU= Received: (qmail 19013 invoked by alias); 30 Aug 2017 08:24:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 18895 invoked by uid 89); 30 Aug 2017 08:24:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wm0-f54.google.com Received: from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com) (74.125.82.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Aug 2017 08:24:52 +0000 Received: by mail-wm0-f54.google.com with SMTP id u26so5731909wma.0 for ; Wed, 30 Aug 2017 01:24:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:mail-followup-to:subject:date:message-id :user-agent:mime-version; bh=KMBdrh7zfRYNtT6l2oK2Kh2gl9hdrQ/HG3vhyoQi5yU=; b=bwXVzddwHqgEgm/fKrWr37P77MLQktYVOG0moYePz3LtEIattY/LFysE2Btfy3z2Gp VNpyajYSNeYq7biRRCx0pa48pXcrAjtPmB1J30o/vy7UBx9MdtwZ/QwWerq4MkZWC8wC x+yaRw5PELUvG0JhHo7vMxaRtmN2+j7TG27BG7mKEPYxhAUkmuVE7WjYf5VBJLi57Cmz 9oUI8i8oGvuyNC7ZOrK5Aue405zFILrFr0jAzFlcebuM8vXrNVNrioFCuydH7CAW5KXS ZjWmKvJEMzQxHGDB90AXmU6dFbHmh84cBOt+KO57ZaR7X3pQLEuBhkUXBnYW+7ql4kaN b9gw== X-Gm-Message-State: AHYfb5iEI59SFGjdHwPzkDX6ZdgtR4hQHnPjRlueU1IV/iwjqMobkJh4 5M9dkEm2cYb4ijW2m3Rj0g== X-Received: by 10.28.186.198 with SMTP id k189mr702961wmf.26.1504081489150; Wed, 30 Aug 2017 01:24:49 -0700 (PDT) Received: from localhost ([95.145.139.63]) by smtp.gmail.com with ESMTPSA id 7sm3639147wrd.22.2017.08.30.01.24.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Aug 2017 01:24:48 -0700 (PDT) From: Richard Sandiford 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 Tested on powerpc64le-linux-gnu and installed as obvious. 2017-08-30 Richard Sandiford gcc/ * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Use machine_mode rather than int for arg1_mode. Index: gcc/config/rs6000/rs6000-c.c =================================================================== --- gcc/config/rs6000/rs6000-c.c 2017-08-30 09:17:07.677166653 +0100 +++ gcc/config/rs6000/rs6000-c.c 2017-08-30 09:21:31.139741443 +0100 @@ -6729,7 +6729,7 @@ altivec_resolve_overloaded_builtin (loca else if (fcode == P9V_BUILTIN_VEC_VSIEDP) { int overloaded_code; - int arg1_mode = TYPE_MODE (types[0]); + machine_mode arg1_mode = TYPE_MODE (types[0]); if (nargs != 2) {