diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-06-17 00:16:23 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-06-17 00:16:23 +0000 |
commit | bc7e9f76756f2f164bb5dc70b59bc0d838f9fa96 (patch) | |
tree | 7454dfaf2148017a073bf7fa0e835c0a4d367f99 /gcc/c | |
parent | 6ab98d8b58fe4d3c8fce8f34b9efc416b7670c1c (diff) | |
download | gcc-bc7e9f76756f2f164bb5dc70b59bc0d838f9fa96.zip gcc-bc7e9f76756f2f164bb5dc70b59bc0d838f9fa96.tar.gz gcc-bc7e9f76756f2f164bb5dc70b59bc0d838f9fa96.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 5be3941..077b726 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,26 @@ +2022-06-16 David Malcolm <dmalcolm@redhat.com> + + * c-decl.cc (implicitly_declare): Add auto_diagnostic_group to + group the warning with any note. + (warn_about_goto): Likewise to group error or warning with note. + Bail out if the warning wasn't emitted, to avoid emitting orphan + notes. + (lookup_label_for_goto): Add auto_diagnostic_group to + group the error with the note. + (check_earlier_gotos): Likewise. + (c_check_switch_jump_warnings): Likewise for any error/warning. + Conditionalize emission of the notes. + (diagnose_uninitialized_cst_member): Likewise for warning, + conditionalizing emission of the note. + (grokdeclarator): Add auto_diagnostic_group to group the "array + type has incomplete element type" error with any note. + (parser_xref_tag): Add auto_diagnostic_group to group warnings + with their notes. Conditionalize emission of notes. + (start_struct): Add auto_diagnostic_group to group the + "redefinition of" errors with any note. + (start_enum): Likewise for "redeclaration of %<enum %E%>" error. + (check_for_loop_decls): Likewise for pre-C99 error. + 2022-06-07 Jakub Jelinek <jakub@redhat.com> * c-parser.cc (c_parser_omp_clause_linear): Parse OpenMP 5.2 |