[PATCH] don't use TYPE_ARG_TYPES when calling c-family:check_function_arguments

2011-05-21 Thread Nathan Froyd
The calling interface for check_function_arguments requires the caller to extract TYPE_ATTRIBUTES and TYPE_ARG_TYPES prior to calling it. This is somewhat silly, as well as being incompatible with an eventual removal of TYPE_ARG_TYPES. The patch below changes things to pass the FUNCTION_TYPE

Re: [PATCH] don't use TYPE_ARG_TYPES when calling c-family:check_function_arguments

2011-05-21 Thread Joseph S. Myers
On Sat, 21 May 2011, Nathan Froyd wrote: gcc/ * c-typeck.c (build_function_call_vec): Tweak call to check_function_arguments. gcc/c-family/ * c-common.h (check_function_arguments): Tweak prototype of check_function_arguments. * c-common.c