bfin.c (bfin_init_builtins): Call build_function_type_list instead of build_function_...
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 3 May 2011 15:37:03 +0000 (15:37 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 3 May 2011 15:37:03 +0000 (15:37 +0000)
* config/bfin/bfin.c (bfin_init_builtins): Call
build_function_type_list instead of build_function_type.

From-SVN: r173311

gcc/ChangeLog
gcc/config/bfin/bfin.c

index 28f35e76adf9d4f506806c9387fe378e78a23630..f7202aea2d163008f104cc453c1d526660e21f71 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/bfin/bfin.c (bfin_init_builtins): Call
+       build_function_type_list instead of build_function_type.
+
 2011-05-03  Stuart Henderson  <shenders@gcc.gnu.org>
 
        From Bernd Schmidt
index 40f1168ae7d2e5c670a6bfcc7f9bfadf80b06e78..ee7fd234941b5b7c80d7d4610aebaad197d1e779 100644 (file)
@@ -5979,7 +5979,7 @@ bfin_init_builtins (void)
 {
   tree V2HI_type_node = build_vector_type_for_mode (intHI_type_node, V2HImode);
   tree void_ftype_void
-    = build_function_type (void_type_node, void_list_node);
+    = build_function_type_list (void_type_node, NULL_TREE);
   tree short_ftype_short
     = build_function_type_list (short_integer_type_node, short_integer_type_node,
                                NULL_TREE);