diff mbox

Fix bootstrap after estimate_move_change

Message ID alpine.LSU.2.11.1407250923530.3531@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener July 25, 2014, 7:25 a.m. UTC
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  <rguenther@suse.de>

	* tree-inline.c (estimate_move_cost): Mark speed_p argument
	as possibly unused.
diff mbox

Patch

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;