From patchwork Fri Jul 25 07:25:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 373597 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 04CCE1401FA for ; Fri, 25 Jul 2014 17:28:08 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=NnppQxGnA4c8572uOEHAB6NPwk58sSftZtEK0mM/ErIzDCSvziVch B7aPFd+4pZ1r5Jab6F+93kOtUIeiXeAt2+XLaP648mGH6ENRgAKgJWkNenVkfPWP ZtAOxCkqEtkizyMRZCugQF4HZGB1a1GyDlurVvBsCBmbQA/d3LZgcI= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=H6oVrE4vHBE85iNBbe1wtsEQtW0=; b=cQKwWTj+eEscnYN4K2HE GnDuh+QfQ/pZw5HYCdd+6UPzRfbBzFz8glQFbriqiXdi9WULXI/RVy9gDYjCSZoD iUHlS01OySAjr6/ohAzcsr2k7Ld91QPape6Wd6PGp3o2i7CG+t5mP+VTlTh0oqPQ 3he5c3R2gt5/yBV1DRJ4tiI= Received: (qmail 7700 invoked by alias); 25 Jul 2014 07:28:01 -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 7671 invoked by uid 89); 25 Jul 2014 07:27:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 25 Jul 2014 07:27:58 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 69CEDAC80 for ; Fri, 25 Jul 2014 07:27:55 +0000 (UTC) Date: Fri, 25 Jul 2014 09:25:00 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix bootstrap after estimate_move_change Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Targets may not use the speed_p argument of MOVE_RATIO which makes the function argument unused. [should we fix the warning to account a macro argument use as use?] Applied as obvious. Richard. 2014-07-25 Richard Biener * tree-inline.c (estimate_move_cost): Mark speed_p argument as possibly unused. Index: gcc/tree-inline.c =================================================================== --- gcc/tree-inline.c (revision 213040) +++ gcc/tree-inline.c (working copy) @@ -3628,7 +3628,7 @@ tree_inlinable_function_p (tree fn) cost based on whether optimizing for size or speed according to SPEED_P. */ int -estimate_move_cost (tree type, bool speed_p) +estimate_move_cost (tree type, bool ARG_UNUSED (speed_p)) { HOST_WIDE_INT size;