On Fri, 21 Jan 2022, Jakub Jelinek via Gcc-patches wrote:

> 2022-01-21  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR c++/104148
>       * c-common.h (check_function_arguments_recurse): Add for_format
>       arg.
>       * c-common.cc (check_function_nonnull): Pass false to
>       check_function_arguments_recurse's last argument.
>       (check_function_arguments_recurse): Add for_format argument,
>       if true, don't stop on warning_suppressed_p.
>       * c-format.cc (check_format_info): Pass true to
>       check_function_arguments_recurse's last argument.
> 
>       * c-c++-common/Wformat-pr104148.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to