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 <rguent...@suse.de> * 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;