From dfbdde160f9970aea0bfc6c9d2005d911de6b593 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 20 May 2016 18:52:56 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/calls.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07dceaabe92..32813b45a12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-20 David Malcolm + + * calls.c (can_implement_as_sibling_call_p): Mark param + reg_parm_stack_space with ATTRIBUTE_UNUSED. + 2016-05-20 Uros Bizjak * gcc/config/i386/i386.c (ix86_rtx_costs) : diff --git a/gcc/calls.c b/gcc/calls.c index 1b12ecaa7b9..587969fcf01 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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, -- 2.30.2