From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id D854B3860757; Wed, 26 Oct 2022 00:18:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D854B3860757 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666743482; bh=Xc8msqT0uUXoNLUBNhvatJxjY6LzidnO9e2ovALtxNY=; h=From:To:Subject:Date:From; b=x0GGxALSjKB1QVjUEstYoF5lkhh8DWe5Wlnop0Rk2mbpxCrKtKLkJVP4pY1iHBnYx l+yNWzW5R0dBmpFOsN5+hM8ouQEKU2RmWLZp0eGBRiW8u/tIB5j0nAX3OaDqSxwHLD 2W6aMcviOPhEv4TCMiS9mWpFk0sXpLyRwXSLf4v8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3496] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 65f5fa23844b55e3c6359e1612e6fdd4d10950d0 X-Git-Newrev: e73ca788c64a1f44fa0cdc3aa0a862f7fbc84276 Message-Id: <20221026001802.D854B3860757@sourceware.org> Date: Wed, 26 Oct 2022 00:18:02 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e73ca788c64a1f44fa0cdc3aa0a862f7fbc84276 commit r13-3496-ge73ca788c64a1f44fa0cdc3aa0a862f7fbc84276 Author: GCC Administrator Date: Wed Oct 26 00:17:15 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 144 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 67 ++++++++++++++++++++++ gcc/testsuite/ChangeLog | 67 ++++++++++++++++++++++ 4 files changed, 279 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b79620cef53..6b8ba1df2d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,147 @@ +2022-10-25 Eugene Rozenfeld + + * auto-profile.cc (get_combined_location): Include discriminator in the + returned combined location. + (read_function_instance): Read discriminators from profiles. + +2022-10-25 H.J. Lu + + PR target/107304 + * expr.cc (get_inner_reference): Always use TYPE_MODE for vector + field with vector raw mode. + +2022-10-25 Segher Boessenkool + + * config/rs6000/rs6000.md (CCEITHER): Delete. + (CCANY): New. + (un): Delete. + (isel_signed_): Rename to... + (isel__): ... this. Adjust. + (*isel_reversed_signed_): Rename to... + (*isel_reversed__): ... this. Adjust. + (setbc_signed_): Rename to... + (setbc__C): ... this. Adjust." + (*setbcr_signed_): Rename to ... + (*setbcr__): ... this. Adjust. + (*setnbc_signed_): Rename to ... + (*setnbc__): ... this. Adjust. + (*setnbcr_signed_): Rename to ... + (*setnbcr__): ... this. Adjust. + (eq3 for GPR): Adjust. + (ne3 for GPR): Adjust. + * config/rs6000/rs6000-string.cc (do_isel): Adjust. + * config/rs6000/rs6000.cc (rs6000_emit_int_cmove): Adjust. + +2022-10-25 Richard Biener + + PR tree-optimization/107176 + PR tree-optimization/66375 + PR tree-optimization/42512 + * tree-scalar-evolution.cc (follow_ssa_edge_expr): Revert + the PR66375 fix, do not not associate PLUS_EXPR to be able + to use tail-recursion. + (follow_ssa_edge_binary): Likewise. + (interpret_loop_phi): Revert PR42512 fix, do not throw + away analyze_evolution_in_loop result after the fact. + (follow_ssa_edge_expr): When reaching halting_phi initalize + the evolution to the symbolic value of the PHI result. + (add_to_evolution_1): When adding the first evolution verify + we can handle the expression wrapping the symbolic evolution + and replace that in full using the initial condition. + (class scev_dfs): New, contains ... + (follow_ssa_edge_expr, follow_ssa_edge_binary, + follow_ssa_edge_in_condition_phi_branch, + follow_ssa_edge_in_condition_phi, + follow_ssa_edge_inner_loop_phi, + add_to_evolution, add_to_evolution_1): ... these with + loop and halting_phi arguments in class data. + (scev_dfs::get_ev): New toplevel DFS entry, start with + a chrec_dont_know evolution. + (analyze_evolution_in_loop): Use scev_dfs. + +2022-10-25 Eric Botcazou + + * profile.cc (branch_prob): Be prepared for ignored functions with + DECL_SOURCE_LOCATION set to UNKNOWN_LOCATION. + +2022-10-25 Richard Biener + + * tree-scalar-evolution.cc (follow_ssa_edge_expr): Move + STRIP_USELESS_TYPE_CONVERSIONS to where it matters. + +2022-10-25 Tejas Joshi + + * common/config/i386/i386-common.cc (processor_alias_table): Use + CPU_ZNVER3 for znver4. + * config/i386/znver.md: Remove znver4 reservations. + +2022-10-25 Jakub Jelinek + + * gimplify.cc (gimple_boolify): Fix comment typos, prduce -> produce + and There -> These. + +2022-10-25 Jakub Jelinek + + PR tree-optimization/107368 + * gimplify.cc (gimplify_call_expr): For complex IFN_ASSUME + conditions call gimple_boolify on the condition. + +2022-10-25 YunQiang Su + + * config.gcc: add -with-compact-branches=policy build option. + * doc/install.texi: Likewise. + * config/mips/mips.h: Likewise. + +2022-10-25 YunQiang Su + + * config/mips/mips.cc (mips_option_override): not trigger error + for compact-branches=always for pre-R6. + * config/mips/mips.h (TARGET_RTP_PIC): not trigger error for + compact-branches=always for pre-R6. + (TARGET_CB_NEVER): Likewise. + (TARGET_CB_ALWAYS): Likewise. + (struct mips_cpu_info): define macros for compact branch policy. + * doc/invoke.texi: Document "always" with pre-R6. + +2022-10-25 Jakub Jelinek + + PR tree-optimization/107369 + * gimplify.cc (gimplify_call_expr): If seen_error, handle complex + IFN_ASSUME the same as for -O0. + +2022-10-25 YunQiang Su + + * configure.ac: AC_DEFINE(ENABLE_MULTIARCH, 1) + * configure: Regenerated. + * config.in: Regenerated. + * config/mips/mips.h: don't define STANDARD_STARTFILE_PREFIX_1 + if ENABLE_MULTIARCH is defined. + * config/mips/t-linux64: define correct multiarch path when + multiarch is enabled. + +2022-10-25 Richard Biener + + PR tree-optimization/100756 + * tree-ssa-loop-niter.cc (expand_simple_operations): Also + expand multiplications by invariants. + +2022-10-25 Kewen Lin + + PR tree-optimization/107338 + * tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Move + shfit_n calculation before the adjustments for widening loads. + +2022-10-25 Martin Liska + + * common/config/riscv/riscv-common.cc + (riscv_get_valid_option_values): Get out of ifdef. + +2022-10-25 Martin Liska + + PR target/107364 + * common/config/i386/i386-cpuinfo.h (enum processor_vendor): + Fix pedantic warning. + 2022-10-24 Martin Liska PR analyzer/107366 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c75820ce08e..03e9228fa2a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20221025 +20221026 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 04c8216a16b..550515c50c2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,70 @@ +2022-10-25 Nathan Sidwell + + * parser.cc (synthesize_implicit_template_parm): Fix thinko about + mark the new parm DECL_VIRTUAL_P. Avoid unneccessary tree_last call. + +2022-10-25 Patrick Palka + + * constraint.cc (resolve_function_concept_overload): Explicitly + pass complain=tf_none to coerce_template_parms. + (resolve_concept_check): Likewise. + (normalize_concept_check): Likewise. + * cp-tree.h (coerce_template_parms): Declare the main overload + and default its last parameter to true. Remove wrapper overloads. + * pt.cc (determine_specialization): Adjust calls to + coerce_template_parms and coerce_innermost_template_parms after + removing their last parameter. + (coerce_template_args_for_ttp): Likewise. + (coerce_ttp_args_for_tta): Likewise. + (coerce_template_template_parms): Likewise. + (coerce_template_parms): Remove use_default_args parameter and + adjust function comment. Document default argument. Remove + wrapper overloads. No longer static. + (coerce_innermost_template_parms): Remove use_default_args + parameter. Default require_all_args to true. + (lookup_template_class): As with determine_specialization. + (finish_template_variable): Likewise. + (tsubst_decl): Likewise. + (instantiate_alias_template): Likewise. + (fn_type_unification): Likewise. + (resolve_overloaded_unification): Likewise. + (resolve_nondeduced_context): Likewise. + (get_partial_spec_bindings): Likewise. + +2022-10-25 Jason Merrill + + * constexpr.cc (find_failing_clause_r): Re-add the call to + contextual_conv_bool. + +2022-10-25 Patrick Palka + + PR c++/106848 + PR c++/102600 + * module.cc (trees_out::core_vals): Stream TYPE_MAX_VALUE and + TYPE_MIN_VALUE of ENUMERAL_TYPE. + (trees_in::core_vals): Likewise. + (trees_out::write_enum_def): Don't stream them here. + (trees_in::read_enum_def): Likewise. + +2022-10-25 Jason Merrill + + * constexpr.cc (class constexpr_global_ctx): Add modifiable field, + get_value, get_value_ptr, put_value, remove_value, flush_modifiable + member functions. + (class modifiable_tracker): New. + (cxx_eval_internal_function): Use it. + (diagnose_failing_condition): Strip CLEANUP_POINT_EXPR. + +2022-10-25 Jason Merrill + + * constexpr.cc (fold_operand): New function. + (find_failing_clause_r): Add const. + (find_failing_clause): Add const. + (diagnose_failing_condition): Add ctx parameter. + (cxx_eval_internal_function): Pass it. + * semantics.cc (diagnose_failing_condition): Move to constexpr.cc. + * cp-tree.h: Adjust. + 2022-10-24 Jason Merrill * cp-gimplify.cc (fold_builtin_source_location) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6fa9fb0e457..09c41086d35 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,70 @@ +2022-10-25 Patrick Palka + + PR c++/106848 + PR c++/102600 + * g++.dg/modules/enum-9_a.H: New test. + * g++.dg/modules/enum-9_b.C: New test. + * g++.dg/modules/enum-10_a.H: New test. + * g++.dg/modules/enum-10_b.C: New test. + * g++.dg/modules/enum-11_a.H: New test. + * g++.dg/modules/enum-11_b.C: New test. + +2022-10-25 H.J. Lu + + PR target/107304 + * gcc.target/i386/pr107304.c: New test. + +2022-10-25 Jason Merrill + + * g++.dg/cpp23/attr-assume9.C: New test. + * g++.dg/cpp23/attr-assume10.C: New test. + +2022-10-25 Jason Merrill + + * g++.dg/cpp23/attr-assume2.C: Expect constant values. + +2022-10-25 Richard Biener + + PR tree-optimization/107176 + PR tree-optimization/66375 + PR tree-optimization/42512 + * gcc.dg/torture/pr107176.c: New testcase. + +2022-10-25 Eric Botcazou + + * gnat.dg/specs/coverage1.ads: New test. + * gnat.dg/specs/variant_part.ads: Minor tweak. + * gnat.dg/specs/weak1.ads: Add dg directive. + +2022-10-25 Jakub Jelinek + + PR tree-optimization/107368 + * gcc.dg/attr-assume-5.c: New test. + +2022-10-25 YunQiang Su + + * gcc.target/mips/compact-branches-1.c: add isa_rev>=6. + * gcc.target/mips/mips.exp: don't add -mipsXXr6 option for + -mcompact-branches=always. It is usable for pre-R6 now. + * gcc.target/mips/compact-branches-8.c: New test. + * gcc.target/mips/compact-branches-9.c: New test. + +2022-10-25 Jakub Jelinek + + PR tree-optimization/107369 + * gcc.dg/attr-assume-4.c: New test. + * g++.dg/cpp23/attr-assume8.C: New test. + +2022-10-25 Richard Biener + + PR tree-optimization/100756 + * gcc.dg/vect/pr100756.c: New testcase. + +2022-10-25 Kewen Lin + + * lib/target-supports.exp (check_effective_target_vect_long_long): Add + support for powerpc*-*-*. + 2022-10-24 David Malcolm PR analyzer/107349