diff options
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6e35a7b..fe8aa4b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,143 @@ +2025-03-31 Jason Merrill <jason@redhat.com> + + PR c++/119401 + * pt.cc (regenerate_decl_from_template): Don't regenerate if the + signature involves a lambda. + +2025-03-31 Jakub Jelinek <jakub@redhat.com> + + PR c++/119518 + * decl.cc (finish_function): Don't set TREE_NOTHROW for + functions with "noipa" attribute even when we can prove + they can't throw. + +2025-03-29 Jason Merrill <jason@redhat.com> + + * decl.cc (duplicate_decls): Don't clobber DECL_MODULE_IMPORT_P with + an injected friend. + * name-lookup.cc (check_module_override): Look at all reachable + decls in decl's originating module. + +2025-03-29 Jason Merrill <jason@redhat.com> + + PR c++/64500 + PR c++/116285 + * name-lookup.cc (push_to_top_level): Don't try to store_bindings + for namespace levels. + +2025-03-29 Jakub Jelinek <jakub@redhat.com> + + * name-lookup.cc (maybe_lazily_declare): Fix comment typo, + anout -> about. + +2025-03-29 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/118961 + * class.cc (copy_fndecl_with_name): Mark clones as non-abstract. + * cp-tree.h (setup_explicit_instantiation_definition_linkage): + Declare new function. + * module.cc (trees_in::read_var_def): Use it. + (module_state::read_cluster): Likewise. + * pt.cc (setup_explicit_instantiation_definition_linkage): New + function. + (mark_decl_instantiated): Use it. + +2025-03-27 Tobias Burnus <tburnus@baylibre.com> + + * cp-tree.h (cp_finish_omp_init_prefer_type): Add. + * decl.cc (omp_declare_variant_finalize_one): Call it. + * pt.cc (tsubst_attribute): Minor rebustification for OpenMP + append_args handling. + * semantics.cc (cp_omp_init_prefer_type_update): Rename to ... + (cp_finish_omp_init_prefer_type): ... this; remove static attribute + and return modified tree. Move clause handling to ... + (finish_omp_clauses): ... the caller. + +2025-03-27 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/118920 + * cp-tree.h (equal_abi_tags): Declare. + * mangle.cc (equal_abi_tags): Make external, fix comparison. + (tree_string_cmp): Make internal. + * module.cc (trees_in::check_abi_tags): New function. + (trees_in::decl_value): Use it. + (trees_in::is_matching_decl): Likewise. + +2025-03-27 Nathaniel Shead <nathanieloshead@gmail.com> + Jason Merrill <jason@redhat.com> + + PR c++/118920 + * name-lookup.cc (lookup_imported_hidden_friend): Check for + module entity rather than just module import. + * module.cc (get_originating_module): Rename for_mangle parm to + global_m1. + * error.cc (dump_module_suffix): Don't decorate global module decls. + +2025-03-26 Thomas Schwinge <tschwinge@baylibre.com> + Jason Merrill <jason@redhat.com> + + * rtti.cc (throw_bad_typeid): Adjust implicit '__cxa_bad_typeid' + prototype to reality. Adjust all users. + +2025-03-25 Simon Martin <simon@nasilyan.com> + + PR c++/114525 + * typeck2.cc (build_m_component_ref): Call cp_build_addr_expr + instead of build_address. + +2025-03-25 yxj-github-437 <2457369732@qq.com> + + * parser.cc (cp_parser_lambda_expression): Use cp_evaluated. + +2025-03-24 Jason Merrill <jason@redhat.com> + + * semantics.cc (finish_type_pack_element): Pass mce_true to + maybe_constant_value. + +2025-03-23 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/119154 + * decl2.cc (vague_linkage_p): Revert gnu_linkage handling. + * module.cc (importer_interface): New enumeration. + (get_importer_interface): New function. + (trees_out::core_bools): Use it to determine interface. + (trees_in::is_matching_decl): Propagate gnu_inline handling onto + existing forward declarations. + (trees_in::read_var_def): Also note explicit instantiation + definitions of variable templates to be emitted. + +2025-03-22 Patrick Palka <ppalka@redhat.com> + + PR c++/119379 + * pt.cc (tsubst_decl) <case TYPE_DECL>: Preserve structural-ness + of a partially instantiated typedef. + +2025-03-21 Paul-Antoine Arras <parras@baylibre.com> + Tobias Burnus <tburnus@baylibre.com> + + * parser.cc (cp_parser_omp_clause_init): Make addressable. + +2025-03-21 Jason Merrill <jason@redhat.com> + + * init.cc (throw_bad_array_new_length): Returns void. + +2025-03-21 Thomas Schwinge <tschwinge@baylibre.com> + + * rtti.cc (throw_bad_cast): Adjust implicit '__cxa_bad_cast' + prototype to reality. + +2025-03-20 Richard Biener <rguenther@suse.de> + + * module.cc (trees_out::core_bools): Convert scoped enum + explicitly. + +2025-03-20 Jakub Jelinek <jakub@redhat.com> + + PR c++/119370 + * decl2.cc (set_context_for_auto_vars_r): New function. + (emit_partial_init_fini_fn): Call walk_tree with that function + on &init before walk_tree with copy_tree_body_r. + 2025-03-19 Jason Merrill <jason@redhat.com> PR c++/119316 |