]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/m32c/m32c.c
Use function_arg_info for TARGET_FUNCTION_ARG_ADVANCE
[thirdparty/gcc.git] / gcc / config / m32c / m32c.c
index 508eb50f2b5fd9581814d31a81b9422b7493596d..ace00e06cab93257967eee1954a27242e8141c22 100644 (file)
@@ -79,8 +79,8 @@ static bool m32c_addr_space_legitimate_address_p (machine_mode, rtx, bool, addr_
 static rtx m32c_function_arg (cumulative_args_t, const function_arg_info &);
 static bool m32c_pass_by_reference (cumulative_args_t,
                                    const function_arg_info &);
-static void m32c_function_arg_advance (cumulative_args_t, machine_mode,
-                                      const_tree, bool);
+static void m32c_function_arg_advance (cumulative_args_t,
+                                      const function_arg_info &);
 static unsigned int m32c_function_arg_boundary (machine_mode, const_tree);
 static int m32c_pushm_popm (Push_Pop_Type);
 static bool m32c_strict_argument_naming (cumulative_args_t);
@@ -1399,9 +1399,7 @@ m32c_init_cumulative_args (CUMULATIVE_ARGS * ca,
 #define TARGET_FUNCTION_ARG_ADVANCE m32c_function_arg_advance
 static void
 m32c_function_arg_advance (cumulative_args_t ca_v,
-                          machine_mode mode ATTRIBUTE_UNUSED,
-                          const_tree type ATTRIBUTE_UNUSED,
-                          bool named ATTRIBUTE_UNUSED)
+                          const function_arg_info &)
 {
   CUMULATIVE_ARGS *ca = get_cumulative_args (ca_v);