]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 29 May 2024 00:17:16 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 29 May 2024 00:17:16 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog

index 914128408c6aecb143785d4f86eeb51390d4f063..1c93bbdc1da29b2279e71e481abe42351e3c24e6 100644 (file)
@@ -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
index cfeb7c2026842c3ba2d892c1e1e0bf4986fa55ed..4fb76261189ad4462c0f1aa2ade359b7c5d78aff 100644 (file)
@@ -1 +1 @@
-20240528
+20240529
index 31dfcbc469f53c96894d7fbe47df82187da1f44a..45150dd2e9ffa3a8b138d444412987e0e6ba6509 100644 (file)
@@ -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):
index f8cdf55641f5e631c199c655e4c1be2a154a583a..a0787067bd149fc6a258a7af5e4b6813deeba7b7 100644 (file)
@@ -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.
index e955821aa3eaf94e5726f6cbc0ab60b0802df3f2..85de3143bd1c66041b0d4a78a85fc294b1bdddd4 100644 (file)
@@ -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
index 3a8fe6620ccdc1d797d9bf0d5145511159b19d5a..edff6125c36a1074dfe1faef36c9cf3afc6850c7 100644 (file)
@@ -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
index 27c61d5ddfb0bd59934159bbf07afdba17102562..1e2095747f030eb8a550ea3f147b65816028e14f 100644 (file)
@@ -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
index 1ce3a0c09a55b332e63cb71a1900765a218f6575..be67be54b9465524e2112b750b535312d8f0a8aa 100644 (file)
@@ -1,3 +1,10 @@
+2024-05-28  David Malcolm  <dmalcolm@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  <peter0x44@disroot.org>
 
        * lex.cc (do_peek_prev): Correct typo in argument to __builtin_expect()