calls.c: fix warning on targets without REG_PARM_STACK_SPACE

gcc/ChangeLog:
	* calls.c (can_implement_as_sibling_call_p): Mark param
	reg_parm_stack_space with ATTRIBUTE_UNUSED.

From-SVN: r236527
This commit is contained in:
David Malcolm 2016-05-20 18:52:56 +00:00 committed by David Malcolm
parent 4f028369d0
commit dfbdde160f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-05-20 David Malcolm <dmalcolm@redhat.com>
* calls.c (can_implement_as_sibling_call_p): Mark param
reg_parm_stack_space with ATTRIBUTE_UNUSED.
2016-05-20 Uros Bizjak <ubizjak@gmail.com>
* gcc/config/i386/i386.c (ix86_rtx_costs) <case CONST_DOUBLE>:

View file

@ -2373,7 +2373,7 @@ static bool
can_implement_as_sibling_call_p (tree exp,
rtx structure_value_addr,
tree funtype,
int reg_parm_stack_space,
int reg_parm_stack_space ATTRIBUTE_UNUSED,
tree fndecl,
int flags,
tree addr,