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

From-SVN: r173320

gcc/ChangeLog
gcc/config/i386/i386.c

index 478a7ac951939a1966df9c73740bb7e41faf79f3..3f39898fb3d4fa51e0395768a99e4c326db39a81 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/i386/i386.c (ix86_code_end): Call build_function_type_list
+       instead of build_function_type.
+
 2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/rs6000/rs6000.c (spe_init_builtins): Call
index 97064abb076187d5880edca9e1ee614297e8df06..79dd5da075a507b3990c7151ce12b49e192e0a10 100644 (file)
@@ -8832,7 +8832,7 @@ ix86_code_end (void)
 
       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_PUBLIC (decl) = 1;