summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-03-01 00:16:41 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-03-01 00:16:41 +0000
commitb05f474c8f7768dad50a99a2d676660ee4db09c6 (patch)
tree4bcf3e6094635b1cb80060a77755d991850172f7
parentc0d8a64e72324d1c2981da21a66394bf8f7a2889 (diff)
Daily bump.
-rw-r--r--contrib/ChangeLog4
-rw-r--r--gcc/ChangeLog63
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog87
-rw-r--r--gcc/cp/ChangeLog28
-rw-r--r--gcc/fortran/ChangeLog31
-rw-r--r--gcc/testsuite/ChangeLog55
-rw-r--r--include/ChangeLog10
-rw-r--r--libcc1/ChangeLog21
-rw-r--r--libstdc++-v3/ChangeLog18
10 files changed, 318 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 17495c5a471..919912e71c7 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2024-02-29 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * gcc-changelog/git_commit.py (bug_components): Add libcc1.
+
2024-02-23 Richard Biener <rguenther@suse.de>
PR target/90785
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 10fa4283430..fe6bb91f3e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,66 @@
+2024-02-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/114159
+ * function.cc (function_name): Make param const.
+ * function.h (function_name): Likewise.
+
+2024-02-29 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/114100
+ * doc/invoke.texi (AVR Options) <-mfuse-add>: Document.
+ * config/avr/avr.opt (-mfuse-add=): New target option.
+ * common/config/avr/avr-common.cc (avr_option_optimization_table)
+ [OPT_LEVELS_1_PLUS]: Set -mfuse-add=1.
+ [OPT_LEVELS_2_PLUS]: Set -mfuse-add=2.
+ * config/avr/avr-passes.def (avr_pass_fuse_add): Insert new pass.
+ * config/avr/avr-protos.h (avr_split_tiny_move)
+ (make_avr_pass_fuse_add): New protos.
+ * config/avr/avr.md [AVR_TINY]: New post-reload splitter uses
+ avr_split_tiny_move to split indirect memory accesses.
+ (gen_move_clobbercc): New define_expand helper.
+ * config/avr/avr.cc (avr_pass_data_fuse_add): New pass data.
+ (avr_pass_fuse_add): New class from rtl_opt_pass.
+ (make_avr_pass_fuse_add, avr_split_tiny_move): New functions.
+ (reg_seen_between_p, emit_move_ccc, emit_move_ccc_after): New functions.
+ (avr_legitimate_address_p) [AVR_TINY]: Don't restrict offsets
+ of PLUS addressing for AVR_TINY.
+ (avr_regno_mode_code_ok_for_base_p) [AVR_TINY]: Ignore -mstrict-X.
+ (avr_out_plus_1) [AVR_TINY]: Tweak ++Y and --Y.
+ (avr_mode_code_base_reg_class) [AVR_TINY]: Always return POINTER_REGS.
+
+2024-02-29 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/114132
+ * config/avr/avr.h (CUMULATIVE_ARGS) <has_stack_args>: New field.
+ * config/avr/avr.cc (avr_init_cumulative_args): Initialize it.
+ (avr_function_arg): Set it.
+ (avr_frame_pointer_required_p): Use it instead of .nregs.
+
+2024-02-29 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR target/108174
+ * config/aarch64/aarch64-builtins.cc (aarch64_memtag_builtin_data): Make
+ static and mark with GTY.
+
+2024-02-29 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md
+ (loongarch_<crc>_w_<size>_w_extended): New define_insn.
+
+2024-02-29 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md (CRC): New define_int_iterator.
+ (crc): New define_int_attr.
+ (loongarch_crc_w_<size>_w, loongarch_crcc_w_<size>_w): Unify
+ into ...
+ (loongarch_<crc>_w_<size>_w): ... here.
+
+2024-02-29 Kito Cheng <kito.cheng@sifive.com>
+
+ PR target/114130
+ * config/riscv/sync.md (atomic_compare_and_swap<mode>): Sign
+ extend the expected value if needed.
+
2024-02-28 Cupertino Miranda <cupertino.miranda@oracle.com>
* config.gcc (target_gtfiles): Change coreout to btfext-out.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4c39afe3428..88d4f65b21d 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240229
+20240301
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 98fa45c3f07..49824f0044a 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,90 @@
+2024-02-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/114159
+ * analyzer.cc: Include "tree-dfa.h".
+ (get_ssa_default_def): New decl.
+ * analyzer.h (get_ssa_default_def): New.
+ * call-info.cc (call_info::call_info): New ctor taking an explicit
+ called_fn.
+ * call-info.h (call_info::call_info): Likewise.
+ * call-summary.cc (call_summary_replay::call_summary_replay):
+ Convert param from function * to const function &.
+ * call-summary.h (call_summary_replay::call_summary_replay):
+ Likewise.
+ * checker-event.h (state_change_event::get_dest_function):
+ Constify return value.
+ * engine.cc (point_and_state::validate): Update for conversion to
+ const function &.
+ (exploded_node::on_stmt): Likewise.
+ (call_summary_edge_info::call_summary_edge_info): Likewise.
+ Pass in called_fn to call_info ctor.
+ (exploded_node::replay_call_summaries): Update for conversion to
+ const function &. Convert per_function_data from * to &.
+ (exploded_node::replay_call_summary): Update for conversion to
+ const function &.
+ (exploded_graph::add_function_entry): Likewise.
+ (toplevel_function_p): Likewise.
+ (add_tainted_args_callback): Likewise.
+ (exploded_graph::build_initial_worklist): Likewise.
+ (exploded_graph::maybe_create_dynamic_call): Likewise.
+ (maybe_update_for_edge): Likewise.
+ (exploded_graph::on_escaped_function): Likewise.
+ * exploded-graph.h (exploded_node::replay_call_summaries):
+ Likewise.
+ (exploded_node::replay_call_summary): Likewise.
+ (exploded_graph::add_function_entry): Likewise.
+ * program-point.cc (function_point::from_function_entry):
+ Likewise.
+ (program_point::from_function_entry): Likewise.
+ * program-point.h (function_point::from_function_entry): Likewise.
+ (program_point::from_function_entry): Likewise.
+ * program-state.cc (program_state::push_frame): Likewise.
+ (program_state::get_current_function): Constify return type.
+ * program-state.h (program_state::push_frame): Update for
+ conversion to const function &.
+ (program_state::get_current_function): Likewise.
+ * region-model-manager.cc
+ (region_model_manager::get_frame_region): Likewise.
+ * region-model-manager.h
+ (region_model_manager::get_frame_region): Likewise.
+ * region-model.cc (region_model::called_from_main_p): Likewise.
+ (region_model::update_for_gcall): Likewise.
+ (region_model::push_frame): Likewise.
+ (region_model::get_current_function): Constify return type.
+ (region_model::pop_frame): Update for conversion to
+ const function &.
+ (selftest::test_stack_frames): Likewise.
+ (selftest::test_get_representative_path_var): Likewise.
+ (selftest::test_state_merging): Likewise.
+ (selftest::test_alloca): Likewise.
+ * region-model.h (region_model::push_frame): Likewise.
+ (region_model::get_current_function): Likewise.
+ * region.cc (frame_region::dump_to_pp): Likewise.
+ (frame_region::get_region_for_local): Likewise.
+ * region.h (class frame_region): Likewise.
+ * sm-signal.cc (signal_unsafe_call::describe_state_change):
+ Likewise.
+ (update_model_for_signal_handler): Likewise.
+ (signal_delivery_edge_info_t::update_model): Likewise.
+ (register_signal_handler::impl_transition): Likewise.
+ * state-purge.cc (class gimple_op_visitor): Likewise.
+ (state_purge_map::state_purge_map): Likewise.
+ (state_purge_map::get_or_create_data_for_decl): Likewise.
+ (state_purge_per_ssa_name::state_purge_per_ssa_name): Likewise.
+ (state_purge_per_ssa_name::add_to_worklist): Likewise.
+ (state_purge_per_ssa_name::process_point): Likewise.
+ (state_purge_per_decl::add_to_worklist): Likewise.
+ (state_purge_annotator::print_needed): Likewise.
+ * state-purge.h
+ (state_purge_map::get_or_create_data_for_decl): Likewise.
+ (class state_purge_per_tree): Likewise.
+ (class state_purge_per_ssa_name): Likewise.
+ (class state_purge_per_decl): Likewise.
+ * supergraph.cc (supergraph::dump_dot_to_pp): Likewise.
+ * supergraph.h
+ (supergraph::get_node_for_function_entry): Likewise.
+ (supergraph::get_node_for_function_exit): Likewise.
+
2024-02-27 David Malcolm <dmalcolm@redhat.com>
PR analyzer/110483
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1ff86c8120d..4339b522ef1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,31 @@
+2024-02-29 Marek Polacek <polacek@redhat.com>
+
+ PR c++/113987
+ * call.cc (conv_binds_to_reference_parm_p): New.
+ * cp-tree.h (conv_binds_to_reference_parm_p): Declare.
+ * init.cc (find_uninit_fields_r): Call it.
+
+2024-02-29 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/111710
+ * cp-tree.h (DECL_MODULE_KEYED_DECLS_P): Remove tree checking.
+ (struct lang_decl_base): Update comments and fix whitespace.
+ * module.cc (trees_out::lang_decl_bools): Always write
+ module_keyed_decls_p flag...
+ (trees_in::lang_decl_bools): ...and always read it.
+ (trees_out::decl_value): Handle all kinds of keyed decls.
+ (trees_in::decl_value): Likewise.
+ (trees_in::tree_value): Deduplicate LAMBDA_EXPRs.
+ (maybe_key_decl): Also support lambdas attached to fields,
+ parameters, and types. Key lambdas attached to fields to their
+ class.
+ (trees_out::get_merge_kind): Likewise.
+ (trees_out::key_mergeable): Likewise.
+ (trees_in::key_mergeable): Support keyed decls in a TYPE_DECL
+ container.
+ * parser.cc (cp_parser_class_head): Start a lambda scope when
+ parsing base classes.
+
2024-02-28 Jakub Jelinek <jakub@redhat.com>
Patrick Palka <ppalka@redhat.com>
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 644d9ec8098..f6b68306987 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,34 @@
+2024-02-29 Alexander Westbrooks <alexanderw@gcc.gnu.org>
+
+ PR fortran/82943
+ PR fortran/86148
+ PR fortran/86268
+ * decl.cc (gfc_get_pdt_instance): Set the PDT instance field
+ 'f2k_derived', if not set already, to point to the given
+ PDT template 'f2k_derived' namespace in order to give the
+ PDT instance referential access to the typebound procedures
+ of the template.
+ * gfortran.h (gfc_pdt_is_instance_of): Add prototype.
+ * resolve.cc (resolve_typebound_procedure): If the derived type
+ does not have the attribute 'pdt_template' set, compare the
+ dummy argument to the 'resolve_bindings_derived' type like usual.
+ If the derived type is a 'pdt_template', then check if the
+ dummy argument is an instance of the PDT template. If the derived
+ type is a PDT template, and the dummy argument is an instance of
+ that template, but the dummy argument 'param_list' is not
+ SPEC_ASSUMED, check if there are any LEN parameters in the
+ dummy argument. If there are no LEN parameters, then this implies
+ that there are only KIND parameters in the dummy argument.
+ If there are LEN parameters, this would be an error, for all
+ LEN parameters for the dummy argument MUST be assumed for
+ typebound procedures of PDTs.
+ (resolve_pdt): Add a check for ALLOCATABLE and POINTER attributes for
+ SPEC_DEFERRED parameters of PDT class symbols. ALLOCATABLE and
+ POINTER attributes for a PDT class symbol are stored in the
+ 'class_pointer' and 'allocatable' attributes of the '_data'
+ component respectively.
+ * symbol.cc (gfc_pdt_is_instance_of): New function.
+
2024-02-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/114012
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1cb18707d3a..deb15e9a1ee 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,58 @@
+2024-02-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/114159
+ * c-c++-common/analyzer/call-summaries-pr114159.c: New test.
+
+2024-02-29 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/114132
+ * gcc.target/avr/pr114132-1.c: New test.
+ * gcc.target/avr/torture/pr114132-2.c: New test.
+
+2024-02-29 Marek Polacek <polacek@redhat.com>
+
+ PR c++/113987
+ * g++.dg/warn/Wuninitialized-15.C: Turn dg-warning into dg-bogus.
+ * g++.dg/warn/Wuninitialized-34.C: New test.
+
+2024-02-29 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/102344
+ * gm2/pim/pass/TestLong4.mod: Rewrite.
+ * gm2/cpp/pass/testlong4.mod: New test.
+
+2024-02-29 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR target/108174
+ * gcc.target/aarch64/acle/memtag_4.c: New test.
+
+2024-02-29 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/crc-sext.c: New test;
+
+2024-02-29 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/111710
+ * g++.dg/modules/lambda-7.h: New test.
+ * g++.dg/modules/lambda-7_a.H: New test.
+ * g++.dg/modules/lambda-7_b.C: New test.
+ * g++.dg/modules/lambda-7_c.C: New test.
+
+2024-02-29 Kito Cheng <kito.cheng@sifive.com>
+
+ * gcc.target/riscv/pr114130.c: New.
+
+2024-02-29 Alexander Westbrooks <alexanderw@gcc.gnu.org>
+
+ PR fortran/82943
+ PR fortran/86148
+ PR fortran/86268
+ * gfortran.dg/pdt_4.f03: Update modified error message.
+ * gfortran.dg/pdt_34.f03: New test.
+ * gfortran.dg/pdt_35.f03: New test.
+ * gfortran.dg/pdt_36.f03: New test.
+ * gfortran.dg/pdt_37.f03: New test.
+
2024-02-28 Jakub Jelinek <jakub@redhat.com>
Patrick Palka <ppalka@redhat.com>
diff --git a/include/ChangeLog b/include/ChangeLog
index 8bfaec6faa1..d5ada8bba37 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,13 @@
+2024-02-29 Tom Tromey <tom@tromey.com>
+
+ * gcc-cp-interface.h (gcc_cp_fe_context_function): Update
+ comment.
+ * gcc-c-interface.h (enum gcc_c_api_version) <GCC_C_FE_VERSION_2>:
+ New constant.
+ (gcc_c_fe_context_function): Update comment.
+ * gcc-c-fe.def (finish_record_with_alignment): New method.
+ Update documentation.
+
2024-01-13 Jakub Jelinek <jakub@redhat.com>
* demangle.h (enum demangle_component_type): Add
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog
index f81fe389e71..8b13a062366 100644
--- a/libcc1/ChangeLog
+++ b/libcc1/ChangeLog
@@ -1,3 +1,24 @@
+2024-02-29 Tom Tromey <tom@tromey.com>
+
+ PR libcc1/113977
+ * libcc1plugin.cc (plugin_finish_record_or_union): New function.
+ (plugin_finish_record_or_union): Rewrite.
+ (plugin_init): Use GCC_C_FE_VERSION_2.
+ * libcc1.cc (c_vtable): Use GCC_C_FE_VERSION_2.
+ (gcc_c_fe_context): Check for GCC_C_FE_VERSION_2.
+
+2024-02-29 Tom Tromey <tom@tromey.com>
+
+ * libcp1.cc (libcp1::libcp1): Use FE version number from context.
+ * libcc1.cc (libcc1::libcc1): Use FE version number from context.
+ (c_vtable): Use GCC_C_FE_VERSION_1.
+
+2024-02-29 Tom Tromey <tom@tromey.com>
+
+ * libcc1plugin.cc (safe_lookup_builtin_type): Handle ERROR_MARK.
+ (plugin_int_type): Fall back to plugin_int_type_v0.
+ (plugin_float_type): Fall back to plugin_float_type_v0.
+
2024-02-09 Marek Polacek <polacek@redhat.com>
PR c++/98388
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bb030032963..5b4a78579e0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,21 @@
+2024-02-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/format (basic_format_arg::handle::__maybe_const_t):
+ Fix condition to check if const type is formattable.
+ (basic_format_arg::handle::handle(T&)): Remove redundant
+ static_assert.
+ * testsuite/std/format/formatter/basic.cc: New test.
+
+2024-02-29 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/113960
+ * include/bits/stl_algobase.h (__is_byte_iter): Replace with ...
+ (__memcmp_ordered_with): New concept.
+ (lexicographical_compare_three_way): Use __memcmp_ordered_with
+ instead of __is_byte_iter. Use correct length for memcmp.
+ * testsuite/25_algorithms/lexicographical_compare_three_way/113960.cc:
+ New test.
+
2024-02-28 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/114152