From cdfaa4aa52752e55d27bb068b6de933d17b176d3 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 22 Dec 2023 00:18:02 +0000 Subject: Daily bump. --- gcc/c/ChangeLog | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'gcc/c') diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 678a3fb..0730393 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,44 @@ +2023-12-21 Martin Uecker + + * c-decl.cc (c_struct_hasher): Hash stable for struct + types. + (c_struct_hasher::hash, c_struct_hasher::equal): New + functions. + (finish_struct): Set TYPE_CANONICAL to first struct in + equivalence class. + * c-objc-common.cc (c_get_alias_set): Let structs or + unions with variable size alias anything. + * c-tree.h (comptypes_equiv): New prototype. + * c-typeck.cc (comptypes_equiv): New function. + (comptypes_internal): Implement equivalence mode. + (tagged_types_tu_compatible): Implement equivalence mode. + +2023-12-21 Martin Uecker + + * c-tree.h (c_parser_enum_specifier): Add parameter. + * c-decl.cc (start_enum): Allow redefinition. + (finish_enum): Diagnose conflicts. + (build_enumerator): Set context. + (diagnose_mismatched_decls): Diagnose conflicting enumerators. + (push_decl): Preserve context for enumerators. + * c-typeck.cc (tagged_types_tu_compatible_p): Adapt. + * c-parser.cc (c_parser_enum_specifier): Remember when + seen is from an enum type which is not yet defined. + +2023-12-21 Martin Uecker + + * c-decl.cc (previous_tag): New function. + (parser_xref_tag): Find earlier definition. + (get_parm_info): Turn off warning for C23. + (start_struct): Allow redefinitons. + (finish_struct): Diagnose conflicts. + * c-tree.h (comptypes_same_p): Add prototype. + * c-typeck.cc (comptypes_same_p): New function. + (comptypes_internal): Activate comparison of tagged types. + (convert_for_assignment): Ignore qualifiers. + (digest_init): Add error. + (initialized_elementwise_p): Allow compatible types. + 2023-12-20 Jakub Jelinek * c-parser.cc (c_parser_postfix_expression_after_primary): Grow -- cgit v1.1