From 2102b1e1567201a90687e23403882c6c340038f7 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 3 May 2011 15:37:03 +0000 Subject: [PATCH] bfin.c (bfin_init_builtins): Call build_function_type_list instead of build_function_type. * config/bfin/bfin.c (bfin_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r173311 --- gcc/ChangeLog | 5 +++++ gcc/config/bfin/bfin.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28f35e76adf..f7202aea2d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Nathan Froyd + + * config/bfin/bfin.c (bfin_init_builtins): Call + build_function_type_list instead of build_function_type. + 2011-05-03 Stuart Henderson From Bernd Schmidt diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 40f1168ae7d..ee7fd234941 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -5979,7 +5979,7 @@ bfin_init_builtins (void) { tree V2HI_type_node = build_vector_type_for_mode (intHI_type_node, V2HImode); tree void_ftype_void - = build_function_type (void_type_node, void_list_node); + = build_function_type_list (void_type_node, NULL_TREE); tree short_ftype_short = build_function_type_list (short_integer_type_node, short_integer_type_node, NULL_TREE); -- 2.30.2