Mark parameters with ATTRIBUTE_UNUSED
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 28 May 2015 11:41:34 +0000 (11:41 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 28 May 2015 11:41:34 +0000 (04:41 -0700)
* builtins.c (expand_builtin_acc_on_device): Mark parameters
with ATTRIBUTE_UNUSED.

From-SVN: r223805

gcc/ChangeLog
gcc/builtins.c

index a3769389bfd941f9865b55cc78f125e3b6aa0aa1..0b8efebfeff76d4632e8ee9cc7667af5b3d54dcb 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * builtins.c (expand_builtin_acc_on_device): Mark parameters
+       with ATTRIBUTE_UNUSED.
+
 2015-05-28  Julian Brown  <julian@codesourcery.com>
 
        PR libgomp/65742
index 4ce8e5224ca07b6ac1f7c1ef7b55aac01ca1a5dd..ec31e0e7f3e846accde05c098c92a2d547bbf296 100644 (file)
@@ -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))