[Bug c++/104148] [11/12 Regression] -Wformat warning no longer warns about () wrapped args since r11-2457
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 20 18:18:36 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104148
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
check_function_arguments_recurse does multiple things, but I think -Wformat
when discovering the string literals shouldn't really care whether
TREE_NO_WARNING is set or not, the warning should be driven by TREE_NO_WARNING
on the CALL_EXPR to the function with format attribute.
More information about the Gcc-bugs
mailing list