aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-05-29 00:17:16 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-05-29 00:17:16 +0000
commit2b8416972472995af12e600257b456304bba8376 (patch)
treef31299ea43cf8158ab4c0babbb49326693064c9a /gcc
parent1d6199e5f8c1c08083eeb0279f71333234fe14ad (diff)
downloadgcc-2b8416972472995af12e600257b456304bba8376.zip
gcc-2b8416972472995af12e600257b456304bba8376.tar.gz
gcc-2b8416972472995af12e600257b456304bba8376.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog196
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog4
-rw-r--r--gcc/c-family/ChangeLog12
-rw-r--r--gcc/c/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog26
-rw-r--r--gcc/testsuite/ChangeLog62
7 files changed, 308 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9141284..1c93bbd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,199 @@
+2024-05-28 liuhongt <hongtao.liu@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 <amacleod@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 <hp@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 <hp@axis.com>
+
+ * resource.cc (mark_target_live_regs): Remove redundant check for b
+ being -1, after gcc_assert.
+
+2024-05-28 Hans-Peter Nilsson <hp@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 <hp@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 <ubizjak@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 <dmalcolm@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 <dmalcolm@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 <dmalcolm@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 <amacleod@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 <amacleod@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 <dmalcolm@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 <dmalcolm@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.nersisyan@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 <fxue@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 <rguenther@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 <rguenther@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 <rguenther@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 <rguenther@suse.de>
+
+ * tree-vect-loop.cc (get_initial_defs_for_reduction): Convert
+ neutral op to the vector component type.
+
+2024-05-28 liuhongt <hongtao.liu@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 <xry111@xry111.site>
+
+ PR target/115169
+ * config/loongarch/loongarch.cc
+ (loongarch_expand_conditional_move): Guard REGNO with REG_P.
+
2024-05-27 Andrew Pinski <quic_apinski@quicinc.com>
PR tree-optimization/115238
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index cfeb7c2..4fb7626 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240528
+20240529
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 31dfcbc..45150dd 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-28 David Malcolm <dmalcolm@redhat.com>
+
+ * region-model.cc: Include "selftest-tree.h".
+
2024-05-17 David Malcolm <dmalcolm@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 f8cdf55..a078706 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,15 @@
+2024-05-28 David Malcolm <dmalcolm@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 <ebotcazou@adacore.com>
* c-ada-spec.cc (is_cpp_float): New predicate.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index e955821..85de314 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2024-05-28 David Malcolm <dmalcolm@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 <uecker@tugraz.at>
PR c/114831
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3a8fe66..edff612 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,29 @@
+2024-05-28 Marek Polacek <polacek@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 <polacek@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 <dmalcolm@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 <nathanieloshead@gmail.com>
PR c++/102345
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 27c61d5..1e20957 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,65 @@
+2024-05-28 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr67325.c: New test.
+
+2024-05-28 Marek Polacek <polacek@redhat.com>
+
+ PR c++/109396
+ * g++.dg/warn/Wself-move2.C: New test.
+
+2024-05-28 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/115221
+ * gcc.dg/pr115221.c: New.
+
+2024-05-28 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/Wstringop-overflow-10.c: Add truncating warning.
+
+2024-05-28 Tobias Burnus <tburnus@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.nersisyan@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 <jlaw@ventanamicro.com>
+
+2024-05-28 Richard Biener <rguenther@suse.de>
+
+ PR target/115254
+ * gcc.dg/vect/vect-gather-4.c: Adjust dump scan.
+
+2024-05-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/115236
+ * gcc.dg/pr115236.c: New testcase.
+
+2024-05-28 Richard Biener <rguenther@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_apinski@quicinc.com>
+
+ * gcc.dg/tree-ssa/bitops-9.c: Look at cdcde1 rather than optmization.
+
2024-05-27 Andrew Pinski <quic_apinski@quicinc.com>
PR tree-optimization/115238