From patchwork Fri Nov 4 17:45:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 80906 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp97628qge; Fri, 4 Nov 2016 10:45:48 -0700 (PDT) X-Received: by 10.99.159.17 with SMTP id g17mr23925569pge.149.1478281548271; Fri, 04 Nov 2016 10:45:48 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id zy1si14822968pac.252.2016.11.04.10.45.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 10:45:48 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-440483-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; spf=pass (google.com: domain of gcc-patches-return-440483-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-440483-patch=linaro.org@gcc.gnu.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 :content-transfer-encoding; q=dns; s=default; b=TuetmJFi2rHs87Rr Koe7zbs5E9JVU8bw2hsT1nCd4z38rBNTcuKfWe+tgz7fdwNhJXYKEHn9E560TA74 gP92plMixhW43/YZMxd3gA45f3P1BE9xfdZZzTRAvNvRBPm3+L4anbstlj9RmIrV 0b+0H2QkTn4NMwzQSEqgHQszN9E= 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 :content-transfer-encoding; s=default; bh=wmibb0GVThploaQH52ygdj LtFSs=; b=Z1mvQweZCjCcGF5lkIlVrq8KQDbsddH9pOcvGzai6PTKPaM8q/YDZu YwYJPGZzpePzdXXWneJqrPwU8yRXvfOK87kutt3MdcWQurAAFoLg6FaB6XgNQToN 2T89+zl/o9+ygmG6kOjWLi20imFkwG0filbcuBZwks2YJen5YheyE= Received: (qmail 116904 invoked by alias); 4 Nov 2016 17:45:33 -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 116834 invoked by uid 89); 4 Nov 2016 17:45:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=no version=3.3.2 spammy=BLKmode, blkmode X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Nov 2016 17:45:19 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 9E7568132C for ; Fri, 4 Nov 2016 18:45:06 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xBBUhBK9X3Dn for ; Fri, 4 Nov 2016 18:45:06 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 7BF7B812EE for ; Fri, 4 Nov 2016 18:45:06 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Privatize copy_blkmode_from_reg Date: Fri, 04 Nov 2016 18:45:05 +0100 Message-ID: <1484893.e1sUgZfb2b@polaris> User-Agent: KMail/4.14.10 (Linux/3.16.7-48-desktop; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Tested on x86-64/Linux, applied on the mainline as obvious. 2016-11-04 Eric Botcazou * expr.h (copy_blkmode_from_reg): Delete. * expr.c (copy_blkmode_from_reg): Make static. -- Eric Botcazou Index: expr.c =================================================================== --- expr.c (revision 241808) +++ expr.c (working copy) @@ -2591,7 +2591,7 @@ maybe_emit_group_store (rtx x, tree type This is used on targets that return BLKmode values in registers. */ -void +static void copy_blkmode_from_reg (rtx target, rtx srcreg, tree type) { unsigned HOST_WIDE_INT bytes = int_size_in_bytes (type); Index: expr.h =================================================================== --- expr.h (revision 241808) +++ expr.h (working copy) @@ -146,9 +146,6 @@ extern void emit_group_store (rtx, rtx, extern rtx maybe_emit_group_store (rtx, tree); -/* Copy BLKmode object from a set of registers. */ -extern void copy_blkmode_from_reg (rtx, rtx, tree); - /* Mark REG as holding a parameter for the next CALL_INSN. Mode is TYPE_MODE of the non-promoted parameter, or VOIDmode. */ extern void use_reg_mode (rtx *, rtx, machine_mode);