sparc.c (sparc_file_end): Call build_function_type_list instead of build_function_type.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 3 May 2011 15:44:27 +0000 (15:44 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 3 May 2011 15:44:27 +0000 (15:44 +0000)
* config/sparc/sparc.c (sparc_file_end): Call
build_function_type_list instead of build_function_type.

From-SVN: r173317

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 1b787ecb84ce7523afc8d3bd6cc40b6c0d99cc6c..386fd8afc95a967f9261d52aceef6a2cd121f2bf 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/sparc/sparc.c (sparc_file_end): Call
+       build_function_type_list instead of build_function_type.
+
 2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/alpha/alpha.c (alpha_init_builtins): Call
index 46be9040785cd44ecfd1efe8660970311918aa9f..44ba5f77002d65022dbee41c6be96774f71e6e96 100644 (file)
@@ -9613,8 +9613,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;