Message ID | 20110420195606.GN6507@nightcrawler |
---|---|
State | New |
Headers | show |
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.
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,