* [PATCH] use build_function_type_list in the bfin backend
@ 2011-04-20 19:32 Nathan Froyd
2011-04-22 4:20 ` Jie Zhang
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Froyd @ 2011-04-20 19:32 UTC (permalink / raw)
To: gcc-patches
As $SUBJECT suggests. Tested with cross to bfin-elf. OK to commit?
-Nathan
* config/bfin/bfin.c (bfin_init_builtins): Call
build_function_type_list instead of build_function_type.
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 5d08437..03a833d 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -5967,7 +5967,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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] use build_function_type_list in the bfin backend
2011-04-20 19:32 [PATCH] use build_function_type_list in the bfin backend Nathan Froyd
@ 2011-04-22 4:20 ` Jie Zhang
0 siblings, 0 replies; 2+ messages in thread
From: Jie Zhang @ 2011-04-22 4:20 UTC (permalink / raw)
To: Nathan Froyd; +Cc: gcc-patches
On 04/20/2011 03:24 PM, Nathan Froyd wrote:
> As $SUBJECT suggests. Tested with cross to bfin-elf. OK to commit?
>
OK. Thanks!
Jie
> -Nathan
>
> * config/bfin/bfin.c (bfin_init_builtins): Call
> build_function_type_list instead of build_function_type.
>
> diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
> index 5d08437..03a833d 100644
> --- a/gcc/config/bfin/bfin.c
> +++ b/gcc/config/bfin/bfin.c
> @@ -5967,7 +5967,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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-22 2:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 19:32 [PATCH] use build_function_type_list in the bfin backend Nathan Froyd
2011-04-22 4:20 ` Jie Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).