* [PATCH] use build_function_type_list in the avr backend
@ 2011-04-20 20:04 Nathan Froyd
2011-04-21 9:02 ` Denis Chertykov
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Froyd @ 2011-04-20 20:04 UTC (permalink / raw)
To: gcc-patches; +Cc: eric.weddington, chertykov
As $SUBJECT suggests. Tested with cross to avr-elf. OK to commit?
-Nathan
* config/avr/avr.c (avr_init_builtins): Call
build_function_type_list instead of build_function_type.
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 500a5b2..6dbf8b4 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -6535,7 +6535,7 @@ static void
avr_init_builtins (void)
{
tree void_ftype_void
- = build_function_type (void_type_node, void_list_node);
+ = build_function_type_list (void_type_node, NULL_TREE);
tree uchar_ftype_uchar
= build_function_type_list (unsigned_char_type_node,
unsigned_char_type_node,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] use build_function_type_list in the avr backend
2011-04-20 20:04 [PATCH] use build_function_type_list in the avr backend Nathan Froyd
@ 2011-04-21 9:02 ` Denis Chertykov
0 siblings, 0 replies; 2+ messages in thread
From: Denis Chertykov @ 2011-04-21 9:02 UTC (permalink / raw)
To: Nathan Froyd; +Cc: gcc-patches, eric.weddington
2011/4/20 Nathan Froyd <froydnj@codesourcery.com>:
> As $SUBJECT suggests. Tested with cross to avr-elf. OK to commit?
>
> -Nathan
>
> * config/avr/avr.c (avr_init_builtins): Call
> build_function_type_list instead of build_function_type.
>
Please, commit.
Denis.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-21 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 20:04 [PATCH] use build_function_type_list in the avr backend Nathan Froyd
2011-04-21 9:02 ` Denis Chertykov
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).