Message ID | 20110420193258.GG6507@nightcrawler |
---|---|
State | New |
Headers | show |
> * config/mep/mep.c (mep_init_builtins): Call build_function_type_list > instead of build_function_type. Ok.
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 02c825a..b8ef440 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);