From ec92be4a4e037d88c2a340f6aed9c619a152de8b Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 24 Mar 2023 00:16:56 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 259 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 19 +++ gcc/m2/ChangeLog | 31 +++++ gcc/testsuite/ChangeLog | 132 ++++++++++++++++++++ 5 files changed, 442 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3275289719..5c7ba69232d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,262 @@ +2023-03-23 Pat Haugen + + * config/rs6000/rs6000.md (*mod3, umod3): Add + non-earlyclobber alternative. + +2023-03-23 Andrew Pinski + + PR c/84900 + * fold-const.cc (maybe_lvalue_p): Treat COMPOUND_LITERAL_EXPR + as a lvalue. + +2023-03-23 Richard Biener + + PR tree-optimization/107569 + * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt): + Do not push SSA names with zero uses as available leader. + (process_bb): Likewise. + +2023-03-23 Richard Biener + + PR tree-optimization/109262 + * tree-ssa-forwprop.cc (pass_forwprop::execute): When + combining a piecewise complex load avoid touching loads + that throw internally. Use fun, not cfun throughout. + +2023-03-23 Jakub Jelinek + + * value-range.cc (irange::irange_union, irange::intersect): Fix + comment spelling bugs. + * gimple-range-trace.cc (range_tracer::do_header): Likewise. + * gimple-range-trace.h: Likewise. + * gimple-range-edge.cc: Likewise. + (gimple_outgoing_range_stmt_p, + gimple_outgoing_range::switch_edge_range, + gimple_outgoing_range::edge_range_p): Likewise. + * gimple-range.cc (gimple_ranger::prefill_stmt_dependencies, + gimple_ranger::fold_stmt, gimple_ranger::register_transitive_infer, + assume_query::assume_query, assume_query::calculate_phi): Likewise. + * gimple-range-edge.h: Likewise. + * value-range.h (Value_Range::set, Value_Range::lower_bound, + Value_Range::upper_bound, frange::set_undefined): Likewise. + * gimple-range-gori.h (range_def_chain::depend, gori_map::m_outgoing, + gori_compute): Likewise. + * gimple-range-fold.h (fold_using_range): Likewise. + * gimple-range-path.cc (path_range_query::compute_ranges_in_phis): + Likewise. + * gimple-range-gori.cc (range_def_chain::in_chain_p, + range_def_chain::dump, gori_map::calculate_gori, + gori_compute::compute_operand_range_switch, + gori_compute::logical_combine, gori_compute::refine_using_relation, + gori_compute::compute_operand1_range, gori_compute::may_recompute_p): + Likewise. + * gimple-range.h: Likewise. + (enable_ranger): Likewise. + * range-op.h (empty_range_varying): Likewise. + * value-query.h (value_query): Likewise. + * gimple-range-cache.cc (block_range_cache::set_bb_range, + block_range_cache::dump, ssa_global_cache::clear_global_range, + temporal_cache::temporal_value, temporal_cache::current_p, + ranger_cache::range_of_def, ranger_cache::propagate_updated_value, + ranger_cache::range_from_dom, ranger_cache::register_inferred_value): + Likewise. + * gimple-range-fold.cc (fur_edge::get_phi_operand, + fur_stmt::get_operand, gimple_range_adjustment, + fold_using_range::range_of_phi, + fold_using_range::relation_fold_and_or): Likewise. + * value-range-storage.h (irange_storage_slot::MAX_INTS): Likewise. + * value-query.cc (range_query::value_of_expr, + range_query::value_on_edge, range_query::query_relation): Likewise. + * tree-vrp.cc (remove_unreachable::remove_and_update_globals, + intersect_range_with_nonzero_bits): Likewise. + * gimple-range-infer.cc (gimple_infer_range::check_assume_func, + exit_range): Likewise. + * value-relation.h: Likewise. + (equiv_oracle, relation_trio::relation_trio, value_relation, + value_relation::value_relation, pe_min): Likewise. + * range-op-float.cc (range_operator_float::rv_fold, + frange_arithmetic, foperator_unordered_equal::op1_range, + foperator_div::rv_fold): Likewise. + * gimple-range-op.cc (cfn_clz::fold_range): Likewise. + * value-relation.cc (equiv_oracle::query_relation, + equiv_oracle::register_equiv, equiv_oracle::add_equiv_to_block, + value_relation::apply_transitive, relation_chain_head::find_relation, + dom_oracle::query_relation, dom_oracle::find_relation_block, + dom_oracle::find_relation_dom, path_oracle::register_equiv): Likewise. + * range-op.cc (range_operator::wi_fold_in_parts_equiv, + create_possibly_reversed_range, adjust_op1_for_overflow, + operator_mult::wi_fold, operator_exact_divide::op1_range, + operator_cast::lhs_op1_relation, operator_cast::fold_pair, + operator_cast::fold_range, operator_abs::wi_fold, range_op_cast_tests, + range_op_lshift_tests): Likewise. + +2023-03-23 Andrew Stubbs + + * config/gcn/gcn.cc (gcn_class_max_nregs): Handle vectors in SGPRs. + (move_callee_saved_registers): Detect the bug condition early. + +2023-03-23 Andrew Stubbs + + * config/gcn/gcn-protos.h (gcn_stepped_zero_int_parallel_p): New. + * config/gcn/gcn-valu.md (V_1REG_ALT): New. + (V_2REG_ALT): New. + (vec_extract_nop): New. + (vec_extract_nop): New. + (vec_extract): Use new patterns. + * config/gcn/gcn.cc (gcn_stepped_zero_int_parallel_p): New. + * config/gcn/predicates.md (ascending_zero_int_parallel): New. + +2023-03-23 Jakub Jelinek + + PR tree-optimization/109176 + * tree-vect-generic.cc (expand_vector_condition): If a has + vector boolean type and is a comparison, also check if both + the comparison and VEC_COND_EXPR could be successfully expanded + individually. + +2023-03-23 Pan Li + Ju-Zhe Zhong + + PR target/108654 + PR target/108185 + * config/riscv/riscv-modes.def (ADJUST_BYTESIZE): Adjust size + for vector mask modes. + * config/riscv/riscv.cc (riscv_v_adjust_bytesize): New. + * config/riscv/riscv.h (riscv_v_adjust_bytesize): New. + +2023-03-23 Songhe Zhu + + * config/riscv/multilib-generator: Adjusting the loop of 'alt' in 'alts'. + +2023-03-23 Ju-Zhe Zhong + + PR target/109244 + * config/riscv/riscv-protos.h (emit_vlmax_vsetvl): Define as global. + (emit_vlmax_op): Ditto. + * config/riscv/riscv-v.cc (get_sew): New function. + (emit_vlmax_vsetvl): Adapt function. + (emit_pred_op): Ditto. + (emit_vlmax_op): Ditto. + (emit_nonvlmax_op): Ditto. + (legitimize_move): Fix LRA ICE. + (gen_no_side_effects_vsetvl_rtx): Adapt function. + * config/riscv/vector.md (@mov_lra): New pattern. + (@mov_lra): Ditto. + (*mov_lra): Ditto. + (*mov_lra): Ditto. + +2023-03-23 Ju-Zhe Zhong + + PR target/109228 + * config/riscv/riscv-vector-builtins-bases.cc (class vlenb): Add + __riscv_vlenb support. + (BASE): Ditto. + * config/riscv/riscv-vector-builtins-bases.h: Ditto. + * config/riscv/riscv-vector-builtins-functions.def (vlenb): Ditto. + * config/riscv/riscv-vector-builtins-shapes.cc (struct vlenb_def): Ditto. + (SHAPE): Ditto. + * config/riscv/riscv-vector-builtins-shapes.h: Ditto. + * config/riscv/riscv-vector-builtins.cc: Ditto. + +2023-03-23 Ju-Zhe Zhong + kito-cheng + + * config/riscv/riscv-vsetvl.cc (reg_available_p): Fix bugs. + (pass_vsetvl::compute_local_backward_infos): Fix bugs. + (pass_vsetvl::need_vsetvl): Fix bugs. + (pass_vsetvl::backward_demand_fusion): Fix bugs. + (pass_vsetvl::demand_fusion): Fix bugs. + (eliminate_insn): Fix bugs. + (insert_vsetvl): Ditto. + (pass_vsetvl::emit_local_forward_vsetvls): Ditto. + * config/riscv/riscv-vsetvl.h (enum vsetvl_type): Ditto. + * config/riscv/vector.md: Ditto. + +2023-03-23 Ju-Zhe Zhong + kito-cheng + + * config/riscv/riscv-vector-builtins-bases.cc: Fix ternary bug. + * config/riscv/vector-iterators.md (nmsac): Ditto. + (nmsub): Ditto. + (msac): Ditto. + (msub): Ditto. + (nmadd): Ditto. + (nmacc): Ditto. + * config/riscv/vector.md (@pred_mul_): Ditto. + (@pred_mul_plus): Ditto. + (*pred_madd): Ditto. + (*pred_macc): Ditto. + (*pred_mul_plus): Ditto. + (@pred_mul_plus_scalar): Ditto. + (*pred_madd_scalar): Ditto. + (*pred_macc_scalar): Ditto. + (*pred_mul_plus_scalar): Ditto. + (*pred_madd_extended_scalar): Ditto. + (*pred_macc_extended_scalar): Ditto. + (*pred_mul_plus_extended_scalar): Ditto. + (@pred_minus_mul): Ditto. + (*pred_): Ditto. + (*pred_nmsub): Ditto. + (*pred_): Ditto. + (*pred_nmsac): Ditto. + (*pred_mul_): Ditto. + (*pred_minus_mul): Ditto. + (@pred_mul__scalar): Ditto. + (@pred_minus_mul_scalar): Ditto. + (*pred__scalar): Ditto. + (*pred_nmsub_scalar): Ditto. + (*pred__scalar): Ditto. + (*pred_nmsac_scalar): Ditto. + (*pred_mul__scalar): Ditto. + (*pred_minus_mul_scalar): Ditto. + (*pred__extended_scalar): Ditto. + (*pred_nmsub_extended_scalar): Ditto. + (*pred__extended_scalar): Ditto. + (*pred_nmsac_extended_scalar): Ditto. + (*pred_mul__extended_scalar): Ditto. + (*pred_minus_mul_extended_scalar): Ditto. + (*pred_): Ditto. + (*pred_): Ditto. + (*pred__scalar): Ditto. + (*pred__scalar): Ditto. + (@pred_neg_mul_): Ditto. + (@pred_mul_neg_): Ditto. + (*pred_): Ditto. + (*pred_): Ditto. + (*pred_): Ditto. + (*pred_): Ditto. + (*pred_neg_mul_): Ditto. + (*pred_mul_neg_): Ditto. + (@pred_neg_mul__scalar): Ditto. + (@pred_mul_neg__scalar): Ditto. + (*pred__scalar): Ditto. + (*pred__scalar): Ditto. + (*pred__scalar): Ditto. + (*pred__scalar): Ditto. + (*pred_neg_mul__scalar): Ditto. + (*pred_mul_neg__scalar): Ditto. + (@pred_widen_neg_mul_): Ditto. + (@pred_widen_mul_neg_): Ditto. + (@pred_widen_neg_mul__scalar): Ditto. + (@pred_widen_mul_neg__scalar): Ditto. + +2023-03-23 liuhongt + + * builtins.cc (builtin_memset_read_str): Replace + targetm.gen_memset_scratch_rtx with gen_reg_rtx. + (builtin_memset_gen_str): Ditto. + * config/i386/i386-expand.cc + (ix86_convert_const_wide_int_to_broadcast): Replace + ix86_gen_scratch_sse_rtx with gen_reg_rtx. + (ix86_expand_vector_move): Ditto. + * config/i386/i386-protos.h (ix86_gen_scratch_sse_rtx): + Removed. + * config/i386/i386.cc (ix86_gen_scratch_sse_rtx): Removed. + (TARGET_GEN_MEMSET_SCRATCH_RTX): Removed. + * doc/tm.texi: Remove TARGET_GEN_MEMSET_SCRATCH_RTX. + * doc/tm.texi.in: Ditto. + * target.def: Ditto. + 2023-03-22 Vladimir N. Makarov * lra.cc (lra): Do not repeat inheritance and live range splitting diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1fe01ef2611..c2cc3bfa412 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230323 +20230324 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fac49c7b8b5..32715f370d9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,22 @@ +2023-03-23 Jason Merrill + + PR c++/105996 + * typeck.cc (build_ptrmemfunc): Drop 0-offset optimization + and location wrappers. + +2023-03-23 Marek Polacek + + PR c++/107532 + * call.cc (class_has_reference_member_p): New. + (class_has_reference_member_p_r): New. + (reference_like_class_p): Don't look for a specific constructor. + Use a DFS walk with class_has_reference_member_p_r. + +2023-03-23 Jason Merrill + + PR c++/109241 + * pt.cc (find_parameter_packs_r): Handle null TREE_BINFO. + 2023-03-22 Jason Merrill PR c++/108390 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index eda3fb44d8a..609dab8a248 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,34 @@ +2023-03-23 Gaius Mulley + + PR modula2/109264 + * gm2-compiler/M2Quads.mod (BuildConstFunctionCall): Comment + out ErrorString in debugging block. + (BuildConstructorStart): Replace Assert with a call to + MetaErrorT3. Import MetaErrorT3. + * gm2-compiler/PCSymBuild.mod (buildConstFunction): Rename + local variables. + (WalkFunctionParam): Remove test for IsEnumeration when + resolving MIN or MAX parameters. + * gm2-compiler/PHBuild.bnf (BlockAssert): New procedure. + (ErrorArrayat): New procedure. + (Expect): Renamed parameter t to tok. + (PushQualident): New rule. + (ConstSetOrQualidentOrFunction): Force AutoOn. + (TypeDeclaration): Add debugging assert. + (SimpleType): Add debugging assert. + (DefaultRecordAttributes): New rule (and bugfix). + (FieldPragmaExpression): New rule (and bugfix). + (PragmaConstExpression): New rule (and bugfix). + (SetOrDesignatorOrFunction): Add debugging assert. + (Block): Add debugging assert. + * gm2-gcc/m2expr.cc (m2expr_ConstantExpressionWarning): int + to bool. + * gm2-gcc/m2expr.h (m2expr_TreeOverflow): int to bool. + (m2expr_GetBooleanTrue): Remove. + (m2expr_GetBooleanFalse): Remove. + * gm2-gcc/m2options.h (M2Options_SetStatistics): Replace + int with bool. + 2023-03-22 Gaius Mulley PR modula2/109248 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2fff2e735f6..1af2de95101 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,135 @@ +2023-03-23 Jason Merrill + + PR c++/105996 + * g++.dg/cpp0x/constexpr-pmf3.C: New test. + +2023-03-23 Hans-Peter Nilsson + + * gcc.dg/tree-ssa/ssa-fre-100.c: XFAIL for ! natural_alignment_32. + +2023-03-23 Hans-Peter Nilsson + + * gcc.dg/tree-ssa/pr100359.c: Compile-only for ! natural_alignment_32. + +2023-03-23 Pat Haugen + + * gcc.target/powerpc/mod-no_copy.c: New. + * gcc.target/powerpc/mod-peephole.c: New. + +2023-03-23 Andrew Pinski + + PR c/84900 + * gcc.dg/compound-literal-cast-lvalue-1.c: New test. + +2023-03-23 Gaius Mulley + + PR modula2/109264 + * gm2/iso/extended-opaque/pass/iso-extended-opaque-pass.exp: + New test. + * gm2/iso/extended-opaque/pass/stressset.def: New test. + * gm2/iso/extended-opaque/pass/stressset.mod: New test. + * gm2/iso/extended-opaque/pass/testset.mod: New test. + * gm2/projects/iso/small/run/pass/iso-extended-opaque-run-pass.exp: + New test. + * gm2/projects/iso/small/run/pass/stressset.def: New test. + * gm2/projects/iso/small/run/pass/stressset.mod: New test. + * gm2/projects/iso/small/run/pass/test1.mod: New test. + * gm2/projects/iso/small/run/pass/testlib.def: New test. + * gm2/projects/iso/small/run/pass/testlib.mod: New test. + * gm2/projects/iso/small/run/pass/testset.mod: New test. + +2023-03-23 Richard Biener + + PR tree-optimization/107569 + * g++.dg/opt/pr107569.C: New testcase. + +2023-03-23 Richard Biener + + PR tree-optimization/109262 + * g++.dg/torture/pr109262.C: New testcase. + +2023-03-23 Eric Botcazou + + * gnat.dg/div_zero.adb: Skip for aarch64*-*-* targets. + +2023-03-23 Marek Polacek + + PR c++/107532 + * g++.dg/warn/Wdangling-reference11.C: New test. + * g++.dg/warn/Wdangling-reference12.C: New test. + +2023-03-23 Jakub Jelinek + + PR tree-optimization/109176 + * gcc.target/aarch64/sve/pr109176.c: New test. + +2023-03-23 Pan Li + Ju-Zhe Zhong + + PR target/108654 + PR target/108185 + * gcc.target/riscv/rvv/base/pr108185-1.c: Update. + * gcc.target/riscv/rvv/base/pr108185-2.c: Ditto. + * gcc.target/riscv/rvv/base/pr108185-3.c: Ditto. + +2023-03-23 Jason Merrill + + PR c++/109241 + * g++.dg/cpp1y/lambda-generic-local-class2.C: New test. + +2023-03-23 Ju-Zhe Zhong + + PR target/109244 + * g++.target/riscv/rvv/base/pr109244.C: New test. + * gcc.target/riscv/rvv/base/binop_vv_constraint-4.c: Adapt testcase. + * gcc.target/riscv/rvv/base/binop_vv_constraint-6.c: Ditto. + * gcc.target/riscv/rvv/base/binop_vx_constraint-127.c: Ditto. + * gcc.target/riscv/rvv/base/spill-1.c: Ditto. + * gcc.target/riscv/rvv/base/spill-2.c: Ditto. + * gcc.target/riscv/rvv/base/spill-3.c: Ditto. + * gcc.target/riscv/rvv/base/spill-5.c: Ditto. + * gcc.target/riscv/rvv/base/spill-7.c: Ditto. + * g++.target/riscv/rvv/base/bug-18.C: New test. + * gcc.target/riscv/rvv/base/merge_constraint-3.c: New test. + * gcc.target/riscv/rvv/base/merge_constraint-4.c: New test. + +2023-03-23 Ju-Zhe Zhong + + PR target/109228 + * gcc.target/riscv/rvv/base/vlenb-1.c: New test. + +2023-03-23 Ju-Zhe Zhong + kito-cheng + + * g++.target/riscv/rvv/base/bug-10.C: New test. + * g++.target/riscv/rvv/base/bug-11.C: New test. + * g++.target/riscv/rvv/base/bug-12.C: New test. + * g++.target/riscv/rvv/base/bug-13.C: New test. + * g++.target/riscv/rvv/base/bug-14.C: New test. + * g++.target/riscv/rvv/base/bug-15.C: New test. + * g++.target/riscv/rvv/base/bug-16.C: New test. + * g++.target/riscv/rvv/base/bug-17.C: New test. + * g++.target/riscv/rvv/base/bug-2.C: New test. + * g++.target/riscv/rvv/base/bug-3.C: New test. + * g++.target/riscv/rvv/base/bug-4.C: New test. + * g++.target/riscv/rvv/base/bug-5.C: New test. + * g++.target/riscv/rvv/base/bug-6.C: New test. + * g++.target/riscv/rvv/base/bug-7.C: New test. + * g++.target/riscv/rvv/base/bug-8.C: New test. + * g++.target/riscv/rvv/base/bug-9.C: New test. + +2023-03-23 Ju-Zhe Zhong + kito-cheng + + * gcc.target/riscv/rvv/base/bug-3.c: New test. + * gcc.target/riscv/rvv/base/bug-4.c: New test. + * gcc.target/riscv/rvv/base/bug-5.c: New test. + +2023-03-23 Kito Cheng + + * lib/target-supports.exp (check_effective_target_riscv_vector): + New. + 2023-03-22 David Malcolm PR testsuite/105959