https://gcc.gnu.org/g:2b8416972472995af12e600257b456304bba8376

commit r15-883-g2b8416972472995af12e600257b456304bba8376
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Wed May 29 00:17:16 2024 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/analyzer/ChangeLog  |   4 +
 gcc/c-family/ChangeLog  |  12 +++
 gcc/c/ChangeLog         |   7 ++
 gcc/cp/ChangeLog        |  26 +++++++
 gcc/testsuite/ChangeLog |  62 +++++++++++++++
 libcpp/ChangeLog        |   7 ++
 8 files changed, 315 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 914128408c6..1c93bbdc1da 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,199 @@
+2024-05-28  liuhongt  <hongtao....@intel.com>
+
+       PR target/67325
+       * config/i386/i386.cc (ix86_rtx_costs): Reduce cost of MEM (A
+       + imm) to "cost of MEM (A)" + 1.
+
+2024-05-28  Andrew MacLeod  <amacl...@redhat.com>
+
+       * gimple-range.cc (dom_ranger::dom_ranger): Do not initialize m_out.
+       (dom_ranger::maybe_push_edge): Use gori () rather than m_out.
+       * gimple-range.h (dom_ranger::m_out): Remove.
+       * tree-vrp.cc (remove_unreachable::remove_unreachable): Use a
+       range-query ranther than a gimple_ranger.
+       (remove_unreachable::remove): New.
+       (remove_unreachable::m_ranger): Change to a range_query.
+       (remove_unreachable::handle_early): If there is no dependency
+       information, do nothing.
+       (remove_unreachable::remove_and_update_globals): Do not update
+       globals if there is no dependecy info to use.
+
+2024-05-28  Hans-Peter Nilsson  <h...@axis.com>
+
+       * resource.cc (free_resource_info, clear_hashed_info_for_insn): Don't
+       check for non-null target_hash_table and bb_ticks.
+       (mark_target_live_regs): Ditto.  Replace check for non-NULL result from
+       BLOCK_FOR_INSN with a call to gcc_assert.  Fold code conditioned on
+       tinfo != NULL.
+
+2024-05-28  Hans-Peter Nilsson  <h...@axis.com>
+
+       * resource.cc (mark_target_live_regs): Remove redundant check for b
+       being -1, after gcc_assert.
+
+2024-05-28  Hans-Peter Nilsson  <h...@axis.com>
+
+       * resource.cc: Include cfgrtl.h.  Use BLOCK_FOR_INSN (insn)->index
+       instead of calling find_basic_block (insn).  Assert for not -1.
+       (find_basic_block): Remove function.
+       (init_resource_info): Call compute_bb_for_insn.
+       (free_resource_info): Call free_bb_for_insn.
+
+2024-05-28  Hans-Peter Nilsson  <h...@axis.com>
+
+       PR rtl-optimization/115182
+       * resource.cc (mark_target_live_regs): Don't look for
+       unconditional branches after the target to improve on the
+       register liveness.
+       (find_dead_or_set_registers): Remove unused function.
+
+2024-05-28  Uros Bizjak  <ubiz...@gmail.com>
+
+       * config/i386/sync.md (atomic_loaddi_fpu): Use movd/pextrd
+       to move DImode value from XMM to GPR for TARGET_SSE4_1.
+       (atomic_storedi_fpu): Use movd/pinsrd to move DImode value
+       from GPR to XMM for TARGET_SSE4_1.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       * diagnostic-color.cc: Define INCLUDE_VECTOR.
+       Include "label-text.h" and "selftest.h".
+       (struct color_cap): Replace with...
+       (struct color_default): ...this, adding "m_" prefixes to fields
+       and dropping "name_len" and "free_val" field.
+       (color_dict): Convert to...
+       (gcc_color_defaults): ...this, making const, dropping the trailing
+       strlen and "false" from each entry.
+       (class diagnostic_color_dict): New.
+       (g_color_dict): New.
+       (colorize_start): Reimplement in terms of g_color_dict.
+       (diagnostic_color_dict::get_entry_by_name): New, based on
+       colorize_start.
+       (diagnostic_color_dict::get_start_by_name): Likewise.
+       (diagnostic_color_dict::diagnostic_color_dict): New.
+       (parse_gcc_colors): Reimplement, moving body...
+       (diagnostic_color_dict::parse_envvar_value): ...here.
+       (colorize_init): Lazily create g_color_dict.
+       (selftest::test_empty_color_dict): New.
+       (selftest::test_default_color_dict): New.
+       (selftest::test_color_dict_envvar_parsing): New.
+       (selftest::diagnostic_color_cc_tests): New.
+       * selftest-run-tests.cc (selftest::run_tests): Call
+       selftest::diagnostic_color_cc_tests.
+       * selftest.h (selftest::diagnostic_color_cc_tests): New decl.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       * function-tests.cc: Include "selftest-tree.h".
+       * selftest-tree.h: New file.
+       * selftest.h (make_fndecl): Move to selftest-tree.h.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       * config/v850/v850.opt.urls: Regenerate, with fix.
+       * config/vax/vax.opt.urls: Likewise.
+       * regenerate-opt-urls.py (TARGET_SPECIFIC_PAGES): Fix transposed
+       values for "vax" and "v850".
+
+2024-05-28  Andrew MacLeod  <amacl...@redhat.com>
+
+       PR tree-optimization/115221
+       * gimple-range-fold.cc (range_of_ssa_name_with_loop_info): Do
+       not invoke SCEV is range_query's do not match.
+
+2024-05-28  Andrew MacLeod  <amacl...@redhat.com>
+
+       * tree-ssa-strlen.cc (strlen_pass::strlen_pass): Add function
+       pointer and initialize ptr_qry with current range_query.
+       (strlen_pass::m_ranger): Remove.
+       (printf_strlen_execute): Enable and disable ranger.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       PR analyzer/115203
+       * diagnostic-path.h
+       (simple_diagnostic_path::disable_event_localization): New.
+       (simple_diagnostic_path::m_localize_events): New field.
+       * diagnostic.cc
+       (simple_diagnostic_path::simple_diagnostic_path): Initialize
+       m_localize_events.
+       (simple_diagnostic_path::add_event): Only localize fmt if
+       m_localize_events is true.
+       * tree-diagnostic-path.cc
+       (test_diagnostic_path::test_diagnostic_path): Call
+       disable_event_localization.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       PR bootstrap/115167
+       * Makefile.in (C_COMMON_OBJS): Add c-family/c-type-mismatch.o.
+       * gcc-rich-location.cc
+       (maybe_range_label_for_tree_type_mismatch::get_text): Move to
+       c-family/c-type-mismatch.cc.
+       (binary_op_rich_location::binary_op_rich_location): Likewise.
+       (binary_op_rich_location::use_operator_loc_p): Likewise.
+       * gcc-rich-location.h (class range_label_for_type_mismatch):
+       Likewise.
+       (class maybe_range_label_for_tree_type_mismatch): Likewise.
+       (class op_location_t): Likewise for forward decl.
+       (class binary_op_rich_location): Likewise.
+
+2024-05-28  Lyut Nersisyan  <lyut.nersis...@gmail.com>
+
+       * config/riscv/crypto.md: Add new combiner patterns to generate
+       pack, packh, packw instrutions.
+       * config/riscv/iterators.md (HX): New iterator for half X mode.
+       * config/riscv/riscv.md (<optab>_shift_reverse<X:mode>): Tighten
+       cases to avoid.  Do not lose bits for XOR/IOR.
+
+2024-05-28  Feng Xue  <f...@os.amperecomputing.com>
+
+       PR tree-optimization/115060
+       * tree-vect-patterns.cc (vect_get_internal_def): Return statement for
+       vectorization.
+       (vect_widened_op_tree): Call vect_get_internal_def instead of look_def
+       to get statement information.
+       (vect_recog_widen_abd_pattern): No need to call vect_stmt_to_vectorize.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/115236
+       * tree-ssa-structalias.cc (build_pred_graph): Properly
+       handle *ANYTHING = X.
+       (build_succ_graph): Likewise.  Do not elide direct nodes
+       from receiving from STOREDANYTHING.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       * tree-ssa-structalias.cc (find_func_aliases): Use
+       get_constraint_for_address_of to build escape constraints
+       for asm inputs and outputs.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/115254
+       * tree-vect-slp.cc (vect_build_slp_tree): Only account
+       multi-lane SLP to limit.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       * tree-vect-loop.cc (get_initial_defs_for_reduction): Convert
+       neutral op to the vector component type.
+
+2024-05-28  liuhongt  <hongtao....@intel.com>
+
+       * config/i386/sse.md
+       (<avx512>_<complexopname>_<mode>_mask<round_name>): Align
+       operands' predicate with corresponding expander.
+       (<avx512>_<complexopname>_<mode><maskc_name><round_name>):
+       Ditto.
+
+2024-05-28  Xi Ruoyao  <xry...@xry111.site>
+
+       PR target/115169
+       * config/loongarch/loongarch.cc
+       (loongarch_expand_conditional_move): Guard REGNO with REG_P.
+
 2024-05-27  Andrew Pinski  <quic_apin...@quicinc.com>
 
        PR tree-optimization/115238
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index cfeb7c20268..4fb76261189 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240528
+20240529
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 31dfcbc469f..45150dd2e9f 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       * region-model.cc: Include "selftest-tree.h".
+
 2024-05-17  David Malcolm  <dmalc...@redhat.com>
 
        * checker-event.h (checker_event::connect_to_next_event_p):
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index f8cdf55641f..a0787067bd1 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,15 @@
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       PR bootstrap/115167
+       * c-format.cc: Replace include of "gcc-rich-location.h" with
+       "c-family/c-type-mismatch.h".
+       * c-type-mismatch.cc: New file, taking material from
+       gcc-rich-location.cc.
+       * c-type-mismatch.h: New file, taking material from
+       gcc-rich-location.h.
+       * c-warn.cc: Replace include of "gcc-rich-location.h" with
+       "c-family/c-type-mismatch.h".
+
 2024-05-24  Eric Botcazou  <ebotca...@adacore.com>
 
        * c-ada-spec.cc (is_cpp_float): New predicate.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index e955821aa3e..85de3143bd1 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       PR bootstrap/115167
+       * c-objc-common.cc: Replace include of "gcc-rich-location.h" with
+       "c-family/c-type-mismatch.h".
+       * c-typeck.cc: Likewise.
+
 2024-05-24  Martin Uecker  <uec...@tugraz.at>
 
        PR c/114831
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3a8fe6620cc..edff6125c36 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,29 @@
+2024-05-28  Marek Polacek  <pola...@redhat.com>
+
+       PR c++/109396
+       * cp-tree.h (maybe_warn_self_move): Declare.
+       * init.cc (perform_member_init): Call maybe_warn_self_move.
+       * typeck.cc (maybe_warn_self_move): No longer static.  Change the
+       return type to bool.  Also warn when called from
+       a member-initializer-list.  Drop the inform call.
+
+2024-05-28  Marek Polacek  <pola...@redhat.com>
+
+       PR c++/114707
+       * call.cc (convert_for_arg_passing): Call set_target_expr_eliding.
+       * typeck2.cc (replace_placeholders_for_class_temp_r): Don't use pset.
+       (digest_nsdmi_init): Call cp_walk_tree_without_duplicates instead of
+       cp_walk_tree.
+
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       PR bootstrap/115167
+       PR bootstrap/115167
+       * call.cc: Replace include of "gcc-rich-location.h" with
+       "c-family/c-type-mismatch.h".
+       * error.cc: Likewise.
+       * typeck.cc: Likewise.
+
 2024-05-25  Nathaniel Shead  <nathanielosh...@gmail.com>
 
        PR c++/102345
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 27c61d5ddfb..1e2095747f0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,65 @@
+2024-05-28  liuhongt  <hongtao....@intel.com>
+
+       * gcc.target/i386/pr67325.c: New test.
+
+2024-05-28  Marek Polacek  <pola...@redhat.com>
+
+       PR c++/109396
+       * g++.dg/warn/Wself-move2.C: New test.
+
+2024-05-28  Andrew MacLeod  <amacl...@redhat.com>
+
+       PR tree-optimization/115221
+       * gcc.dg/pr115221.c: New.
+
+2024-05-28  Andrew MacLeod  <amacl...@redhat.com>
+
+       * gcc.dg/Wstringop-overflow-10.c: Add truncating warning.
+
+2024-05-28  Tobias Burnus  <tbur...@baylibre.com>
+
+       * c-c++-common/gomp/lastprivate-conditional-1.c: Remove
+       '{ dg-prune-output "not supported yet" }'.
+       * c-c++-common/gomp/requires-1.c: Likewise.
+       * c-c++-common/gomp/requires-2.c: Likewise.
+       * c-c++-common/gomp/reverse-offload-1.c: Likewise.
+       * g++.dg/gomp/requires-1.C: Likewise.
+       * gfortran.dg/gomp/requires-1.f90: Likewise.
+       * gfortran.dg/gomp/requires-2.f90: Likewise.
+       * gfortran.dg/gomp/requires-4.f90: Likewise.
+       * gfortran.dg/gomp/requires-5.f90: Likewise.
+       * gfortran.dg/gomp/requires-6.f90: Likewise.
+       * gfortran.dg/gomp/requires-7.f90: Likewise.
+
+2024-05-28  Lyut Nersisyan  <lyut.nersis...@gmail.com>
+
+       * gcc.target/riscv/pack32.c: New test.
+       * gcc.target/riscv/pack64.c: New test.
+       * gcc.target/riscv/packh32.c: New test.
+       * gcc.target/riscv/packh64.c: New test.
+       * gcc.target/riscv/packw.c: New test.
+       Co-authored-by: Jeffrey A Law <j...@ventanamicro.com>
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       PR target/115254
+       * gcc.dg/vect/vect-gather-4.c: Adjust dump scan.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/115236
+       * gcc.dg/pr115236.c: New testcase.
+
+2024-05-28  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/115254
+       * gcc.dg/vect/slp-cond-2-big-array.c: Expect 4 times SLP.
+       * gcc.dg/vect/slp-cond-2.c: Likewise.
+
+2024-05-28  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       * gcc.dg/tree-ssa/bitops-9.c: Look at cdcde1 rather than optmization.
+
 2024-05-27  Andrew Pinski  <quic_apin...@quicinc.com>
 
        PR tree-optimization/115238
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 1ce3a0c09a5..be67be54b94 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,10 @@
+2024-05-28  David Malcolm  <dmalc...@redhat.com>
+
+       * Makefile.in (TAGS_SOURCES): Add include/label-text.h.
+       * include/label-text.h: New file.
+       * include/rich-location.h: Include "label-text.h".
+       (class label_text): Move to label-text.h.
+
 2024-05-26  Peter Damianov  <peter0...@disroot.org>
 
        * lex.cc (do_peek_prev): Correct typo in argument to __builtin_expect()

Reply via email to