summaryrefslogtreecommitdiff
path: root/gcc/config/mep/mep.c
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-20 20:22:52 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-20 20:22:52 +0000
commit43a83738f5775747e75caced98cddf6a45064cde (patch)
tree56ec6a617ae78e3d6dc05397a01c9c115d2d9390 /gcc/config/mep/mep.c
parentab27801ef7b9e3872af22309e04f0ab646b2eba2 (diff)
downloadgcc-43a83738f5775747e75caced98cddf6a45064cde.tar.gz
* config/mep/mep.c (mep_init_builtins): Call build_function_type_list
instead of build_function_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mep/mep.c')
-rw-r--r--gcc/config/mep/mep.c2
1 files changed, 1 insertions, 1 deletions
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);