Daily bump.

This commit is contained in:
GCC Administrator 2022-05-08 00:16:20 +00:00
parent 0c723bb4be
commit a1947c92f7
6 changed files with 49 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2022-05-07 Marek Polacek <polacek@redhat.com>
PR c++/101833
PR c++/47634
* tree-core.h (struct attribute_spec): Update comment for HANDLER.
2022-05-06 Jason Merrill <jason@redhat.com>
* diagnostic-color.cc: Add fnname and targs color entries.

View File

@ -1 +1 @@
20220507
20220508

View File

@ -1,3 +1,24 @@
2022-05-07 Marek Polacek <polacek@redhat.com>
PR c++/101833
PR c++/47634
* c-attribs.cc (positional_argument): Pass POS by reference. Deal
with FN being either a function declaration or function type. Use
maybe_adjust_arg_pos_for_attribute.
* c-common.cc (check_function_arguments): Maybe pass FNDECL down to
check_function_format.
* c-common.h (maybe_adjust_arg_pos_for_attribute): Declare.
(positional_argument): Adjust.
* c-format.cc (get_constant): Rename to ...
(validate_constant): ... this. Take EXPR by reference. Return bool
instead of tree.
(handle_format_arg_attribute): Don't overwrite FORMAT_NUM_EXPR by the
return value of validate_constant.
(decode_format_attr): Don't overwrite FORMAT_NUM_EXPR and
FIRST_ARG_NUM_EXPR by the return value of validate_constant.
(check_function_format): Adjust a parameter name.
(handle_format_attribute): Maybe pass FNDECL down to decode_format_attr.
2022-05-04 Marek Polacek <polacek@redhat.com>
* c-warn.cc (warnings_for_convert_and_check): Convert constants of type

View File

@ -1,3 +1,9 @@
2022-05-07 Marek Polacek <polacek@redhat.com>
PR c++/101833
PR c++/47634
* c-objc-common.cc (maybe_adjust_arg_pos_for_attribute): New.
2022-04-08 Jakub Jelinek <jakub@redhat.com>
PR c/105149

View File

@ -1,3 +1,9 @@
2022-05-07 Marek Polacek <polacek@redhat.com>
PR c++/101833
PR c++/47634
* tree.cc (maybe_adjust_arg_pos_for_attribute): New.
2022-05-06 Jason Merrill <jason@redhat.com>
* error.cc (decl_to_string): Add show_color parameter.

View File

@ -1,3 +1,12 @@
2022-05-07 Marek Polacek <polacek@redhat.com>
PR c++/101833
PR c++/47634
* g++.dg/ext/attr-format-arg1.C: New test.
* g++.dg/ext/attr-format1.C: New test.
* g++.dg/ext/attr-format2.C: New test.
* g++.dg/ext/attr-format3.C: New test.
2022-05-06 Jason Merrill <jason@redhat.com>
* g++.dg/diagnostic/function-color1.C: New test.