mep.c (mep_init_builtins): Call build_function_type_list instead of build_function_type.
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 20 Apr 2011 20:22:52 +0000 (20:22 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 20 Apr 2011 20:22:52 +0000 (20:22 +0000)
* config/mep/mep.c (mep_init_builtins): Call build_function_type_list
instead of build_function_type.

From-SVN: r172795

gcc/ChangeLog
gcc/config/mep/mep.c

index 75ccb5e4f5a032fa3c740f60c07a67bdafdff62e..c9a4689e1b274869303485165b92af56f6995ad5 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-20  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/mep/mep.c (mep_init_builtins): Call build_function_type_list
+       instead of build_function_type.
+
 2011-04-20  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/pa/pa.c (pa_init_builtins): Call build_function_type_list
index 02c825ad763d5283a02f6c7f7529d6d6f79e7eb8..b8ef4402c56266cfe1f709a47e3dedf0416bceac 100644 (file)
@@ -6133,7 +6133,7 @@ mep_init_builtins (void)
        if (cgen_insns[i].cret_p)
          ret_type = mep_cgen_regnum_to_type (cgen_insns[i].regnums[0].type);
 
-       bi_type = build_function_type (ret_type, 0);
+       bi_type = build_function_type_list (ret_type, NULL_TREE);
        add_builtin_function (cgen_intrinsics[cgen_insns[i].intrinsic],
                              bi_type,
                              cgen_insns[i].intrinsic, BUILT_IN_MD, NULL, NULL);