calls.c: fix warning on targets without REG_PARM_STACK_SPACE
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 20 May 2016 18:52:56 +0000 (18:52 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 20 May 2016 18:52:56 +0000 (18:52 +0000)
gcc/ChangeLog:
* calls.c (can_implement_as_sibling_call_p): Mark param
reg_parm_stack_space with ATTRIBUTE_UNUSED.

From-SVN: r236527

gcc/ChangeLog
gcc/calls.c

index 07dceaabe928cc14151cca61ef882b17f5af86de..32813b45a12e29ea43ad319707d29ae8f498ca7a 100644 (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>:
index 1b12ecaa7b9b895d089c9c3c8848e124d73ef8a4..587969fcf016ec020fc77faf09b901c87cd5c58e 100644 (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,