From: Nathan Froyd Date: Wed, 20 Apr 2011 20:22:52 +0000 (+0000) Subject: mep.c (mep_init_builtins): Call build_function_type_list instead of build_function_type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34149ed5689b5089baeca9bca11778988de93bad;p=gcc.git mep.c (mep_init_builtins): Call build_function_type_list instead of build_function_type. * config/mep/mep.c (mep_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r172795 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 75ccb5e4f5a..c9a4689e1b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-20 Nathan Froyd + + * config/mep/mep.c (mep_init_builtins): Call build_function_type_list + instead of build_function_type. + 2011-04-20 Nathan Froyd * config/pa/pa.c (pa_init_builtins): Call build_function_type_list diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 02c825ad763..b8ef4402c56 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -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);