From f093f5a63ba44247d230cef6cc90b5add5415eed Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 28 May 2015 11:41:34 +0000 Subject: [PATCH] Mark parameters with ATTRIBUTE_UNUSED * builtins.c (expand_builtin_acc_on_device): Mark parameters with ATTRIBUTE_UNUSED. From-SVN: r223805 --- gcc/ChangeLog | 5 +++++ gcc/builtins.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3769389bfd..0b8efebfeff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-28 H.J. Lu + + * builtins.c (expand_builtin_acc_on_device): Mark parameters + with ATTRIBUTE_UNUSED. + 2015-05-28 Julian Brown PR libgomp/65742 diff --git a/gcc/builtins.c b/gcc/builtins.c index 4ce8e5224ca..ec31e0e7f3e 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5911,7 +5911,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)) -- 2.30.2