[committed][AArch64] Fix bootstrap failure due to missing ATTRIBUTE_UNUSED,andsim01,Wed 10-Nov-21 12:58 PM,View with a light background,Like,Reply,Reply all,Forward

Andre Vieira (lists) andre.simoesdiasvieira@arm.com
Wed Nov 10 13:01:28 GMT 2021


Committed this as obvious. My earlier patch removed the need for the GSI 
to be used.


         * config/aarch64/aarch64-builtins.c
         (aarch64_general_gimple_fold_builtin): Mark argument as unused.
-------------- next part --------------
diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c
index e06131a7c61d31c1be3278dcdccc49c3053c78cb..d5b16081264ca43416a53dafb8c6ee6efad88133 100644
--- a/gcc/config/aarch64/aarch64-builtins.c
+++ b/gcc/config/aarch64/aarch64-builtins.c
@@ -2458,7 +2458,7 @@ get_mem_type_for_load_store (unsigned int fcode)
    failure.  */
 gimple *
 aarch64_general_gimple_fold_builtin (unsigned int fcode, gcall *stmt,
-				     gimple_stmt_iterator *gsi)
+				     gimple_stmt_iterator *gsi ATTRIBUTE_UNUSED)
   gimple *new_stmt = NULL;
   unsigned nargs = gimple_call_num_args (stmt);

More information about the Gcc-patches mailing list