aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mep
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2011-04-20 20:22:52 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2011-04-20 20:22:52 +0000
commit34149ed5689b5089baeca9bca11778988de93bad (patch)
tree56ec6a617ae78e3d6dc05397a01c9c115d2d9390 /gcc/config/mep
parent125264127137f9583988b172010e39217395628f (diff)
downloadgcc-34149ed5689b5089baeca9bca11778988de93bad.zip
gcc-34149ed5689b5089baeca9bca11778988de93bad.tar.gz
gcc-34149ed5689b5089baeca9bca11778988de93bad.tar.bz2
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
Diffstat (limited to 'gcc/config/mep')
-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 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);