ia64.c (ia64_init_builtins): Call build_function_type_list instead of builtin_functio...
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 21 Apr 2011 20:11:12 +0000 (20:11 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 21 Apr 2011 20:11:12 +0000 (20:11 +0000)
* config/ia64/ia64.c (ia64_init_builtins): Call
build_function_type_list instead of builtin_function_type.

From-SVN: r172839

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 8236d5a1af4c02088e864670e7020878fab8b205..eb9a94d6de1358213799eee83b0c15a36c475fab 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-21  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/ia64/ia64.c (ia64_init_builtins): Call
+       build_function_type_list instead of builtin_function_type.
+
 2011-04-21  Easwaran Raman  <eraman@google.com>
 
        * gcc/cfgexpand.c (stack_var): Remove OFFSET...
index 09f2dde1681d9ccdae3954a7948b1a33e21b7c1b..0512ece05fbc6cdbf6f89708a795704ade6cd93e 100644 (file)
@@ -10165,7 +10165,7 @@ ia64_init_builtins (void)
       (*lang_hooks.types.register_builtin_type) (float128_type, "__float128");
 
       /* TFmode support builtins.  */
-      ftype = build_function_type (float128_type, void_list_node);
+      ftype = build_function_type_list (float128_type, NULL_TREE);
       decl = add_builtin_function ("__builtin_infq", ftype,
                                   IA64_BUILTIN_INFQ, BUILT_IN_MD,
                                   NULL, NULL_TREE);
@@ -10212,13 +10212,13 @@ ia64_init_builtins (void)
                       NULL, NULL_TREE)
 
   decl = def_builtin ("__builtin_ia64_bsp",
-              build_function_type (ptr_type_node, void_list_node),
-              IA64_BUILTIN_BSP);
+                     build_function_type_list (ptr_type_node, NULL_TREE),
+                     IA64_BUILTIN_BSP);
   ia64_builtins[IA64_BUILTIN_BSP] = decl;
 
   decl = def_builtin ("__builtin_ia64_flushrs",
-              build_function_type (void_type_node, void_list_node),
-              IA64_BUILTIN_FLUSHRS);
+                     build_function_type_list (void_type_node, NULL_TREE),
+                     IA64_BUILTIN_FLUSHRS);
   ia64_builtins[IA64_BUILTIN_FLUSHRS] = decl;
 
 #undef def_builtin