[PATCH] don't use TYPE_ARG_TYPES when calling c-family:check_function_arguments
Joseph S. Myers
joseph@codesourcery.com
Sat May 21 21:52:00 GMT 2011
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 (check_function_arguments): Likewise. Adjust
> calls to check_function_nonnull, check_function_format, and
> check_function_sentinel.
> (check_function_sentinel): Take a FUNCTION_TYPE rather than
> separate attributes and typelist arguments. Use
> FOREACH_FUNCTION_ARGS to iterate over argument types.
The C and C family changes are OK.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list