diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-12-22 00:18:02 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-12-22 00:18:02 +0000 |
commit | cdfaa4aa52752e55d27bb068b6de933d17b176d3 (patch) | |
tree | 738883a92b841ddd1cfaec8b8154b524bd9c496f /gcc/c | |
parent | ec2ec24a4d4d1175f72641a95010c2312eb38ccd (diff) | |
download | gcc-cdfaa4aa52752e55d27bb068b6de933d17b176d3.zip gcc-cdfaa4aa52752e55d27bb068b6de933d17b176d3.tar.gz gcc-cdfaa4aa52752e55d27bb068b6de933d17b176d3.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 41 |
1 files changed, 41 insertions, 0 deletions
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 <uecker@tugraz.at> + + * 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 <uecker@tugraz.at> + + * 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 <uecker@tugraz.at> + + * 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 <jakub@redhat.com> * c-parser.cc (c_parser_postfix_expression_after_primary): Grow |