Mark parameters with ATTRIBUTE_UNUSED
2015-06-04 Tom de Vries <tom@codesourcery.com>
backport from trunk:
2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
* builtins.c (expand_builtin_acc_on_device): Mark parameters
with ATTRIBUTE_UNUSED.
---
gcc/builtins.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -5915,7 +5915,8 @@ expand_stack_save (void)
acceleration device (ACCEL_COMPILER conditional). */
static rtx
-expand_builtin_acc_on_device (tree exp, rtx target)
+expand_builtin_acc_on_device (tree exp ATTRIBUTE_UNUSED,
+ rtx target ATTRIBUTE_UNUSED)
{
#ifdef ACCEL_COMPILER
if (!validate_arglist (exp, INTEGER_TYPE, VOID_TYPE))
--
1.9.1