As $SUBJECT suggests.  Tested with cross to sparc-elf.  OK to commit?

-Nathan

        * config/sparc/sparc.c (sparc_file_end): Call
        build_function_type_list instead of build_function_type.

diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 03b5e66..e7dd75b 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -9501,8 +9501,8 @@ sparc_file_end (void)
        {
          tree decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
                                  get_identifier (name),
-                                 build_function_type (void_type_node,
-                                                      void_list_node));
+                                 build_function_type_list (void_type_node,
+                                                            NULL_TREE));
          DECL_RESULT (decl) = build_decl (BUILTINS_LOCATION, RESULT_DECL,
                                           NULL_TREE, void_type_node);
          TREE_STATIC (decl) = 1;

Reply via email to