From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id E191B3858C41; Thu, 29 Jun 2023 00:18:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E191B3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687997900; bh=6oEYC0CdiESRsoQ/EZuj/Le59FZCqGBNgMoW2hPk/Mg=; h=From:To:Subject:Date:From; b=e0S5tcPv21lDqCmaZDuguKGveUW6fImNCX6GvHDSPgLvHxI4MpH3zsD4Py/BsbPtd yS2CxCfbJk09tAEzfqc00vznpCDJLk2xsRKw/GsI5hMme2AQBkqv4p5bxu9lvg5KiU 0ZfDYIluSxDtQu7t5E28DrKrT9sMBjJqTgFPivmQ= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-2175] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: ad0c298ec9ed049740590dc85af6afcc2f729b61 X-Git-Newrev: 5f590ee3174cf6058ac882c3a84a96ae639349c8 Message-Id: <20230629001820.E191B3858C41@sourceware.org> Date: Thu, 29 Jun 2023 00:18:20 +0000 (GMT) List-Id: https://gcc.gnu.org/g:5f590ee3174cf6058ac882c3a84a96ae639349c8 commit r14-2175-g5f590ee3174cf6058ac882c3a84a96ae639349c8 Author: GCC Administrator Date: Thu Jun 29 00:17:55 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 165 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 ++ gcc/cp/ChangeLog | 38 +++++++++++ gcc/d/ChangeLog | 15 +++++ gcc/fortran/ChangeLog | 20 ++++++ gcc/lto/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 163 +++++++++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 7 ++ 9 files changed, 418 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc328637850..ab319b88dd9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,168 @@ +2023-06-28 Hans-Peter Nilsson + + PR target/110144 + * config/cris/cris.cc (cris_postdbr_cmpelim): Don't apply PATTERN + to insn before validating it. + +2023-06-28 Jan Hubicka + + PR middle-end/110334 + * ipa-fnsummary.h (ipa_fn_summary): Add + safe_to_inline_to_always_inline. + * ipa-inline.cc (can_early_inline_edge_p): ICE + if SSA is not built; do cycle checking for + always_inline functions. + (inline_always_inline_functions): Be recrusive; + watch for cycles; do not updat overall summary. + (early_inliner): Do not give up on always_inlines. + * ipa-utils.cc (ipa_reverse_postorder): Do not skip + always inlines. + +2023-06-28 Uros Bizjak + + * output.h (leaf_function_p): Change return type from int to bool. + (final_forward_branch_p): Ditto. + (only_leaf_regs_used): Ditto. + (maybe_assemble_visibility): Ditto. + * varasm.h (supports_one_only): Ditto. + * rtl.h (compute_alignments): Change return type from int to void. + * final.cc (app_on): Change return type from int to bool. + (compute_alignments): Change return type from int to void + and adjust function body accordingly. + (shorten_branches): Change "something_changed" variable + type from int to bool. + (leaf_function_p): Change return type from int to bool + and adjust function body accordingly. + (final_forward_branch_p): Ditto. + (only_leaf_regs_used): Ditto. + * varasm.cc (contains_pointers_p): Change return type from + int to bool and adjust function body accordingly. + (compare_constant): Ditto. + (maybe_assemble_visibility): Ditto. + (supports_one_only): Ditto. + +2023-06-28 Manolis Tsamis + + PR debug/110308 + * regcprop.cc (maybe_mode_change): Check stack_pointer_rtx mode. + (maybe_copy_reg_attrs): New function. + (find_oldest_value_reg): Use maybe_copy_reg_attrs. + (copyprop_hardreg_forward_1): Ditto. + +2023-06-28 Richard Biener + + PR tree-optimization/110434 + * tree-nrv.cc (pass_nrv::execute): Remove CLOBBERs of + VAR we replace with . + +2023-06-28 Richard Biener + + PR tree-optimization/110451 + * tree-ssa-loop-im.cc (stmt_cost): [VEC_]COND_EXPR and + tcc_comparison are expensive. + +2023-06-28 Roger Sayle + + * config/i386/i386-expand.cc (ix86_expand_branch): Also use ptest + for TImode comparisons on 32-bit architectures. + * config/i386/i386.md (cbranch4): Change from SDWIM to + SWIM1248x to exclude/avoid TImode being conditional on -m64. + (cbranchti4): New define_expand for TImode on both TARGET_64BIT + and/or with TARGET_SSE4_1. + * config/i386/predicates.md (ix86_timode_comparison_operator): + New predicate that depends upon TARGET_64BIT. + (ix86_timode_comparison_operand): Likewise. + +2023-06-28 Roger Sayle + + PR target/78794 + * config/i386/i386-features.cc (compute_convert_gain): Provide + more accurate gains for conversion of scalar comparisons to + PTEST. + +2023-06-28 Richard Biener + + PR tree-optimization/110443 + * tree-vect-slp.cc (vect_build_slp_tree_1): Reject non-grouped + gather loads. + +2023-06-28 Haochen Gui + + * config/rs6000/rs6000.md (peephole2 for compare_and_move): New. + (peephole2 for move_and_compare): New. + (mode_iterator WORD): New. Set the mode to SI/DImode by + TARGET_POWERPC64. + (*mov_internal2): Change the mode iterator from P to WORD. + (split pattern for compare_and_move): Likewise. + +2023-06-28 Juzhe-Zhong + + * config/riscv/autovec-opt.md (*double_widen_fma): New pattern. + (*single_widen_fma): Ditto. + +2023-06-28 Haochen Gui + + PR target/104124 + * config/rs6000/altivec.md (*altivec_vupkhs_direct): Rename + to... + (altivec_vupkhs_direct): ...this. + * config/rs6000/predicates.md (vspltisw_vupkhsw_constant_split): New + predicate to test if a constant can be loaded with vspltisw and + vupkhsw. + (easy_vector_constant): Call vspltisw_vupkhsw_constant_p to Check if + a vector constant can be synthesized with a vspltisw and a vupkhsw. + * config/rs6000/rs6000-protos.h (vspltisw_vupkhsw_constant_p): + Declare. + * config/rs6000/rs6000.cc (vspltisw_vupkhsw_constant_p): New + function to return true if OP mode is V2DI and can be synthesized + with vupkhsw and vspltisw. + * config/rs6000/vsx.md (*vspltisw_v2di_split): New insn to load up + constants with vspltisw and vupkhsw. + +2023-06-28 Jan Hubicka + + PR tree-optimization/110377 + * ipa-prop.cc (ipa_compute_jump_functions_for_edge): Pass statement to + the ranger query. + (ipa_analyze_node): Enable ranger. + +2023-06-28 Richard Biener + + * tree.h (TYPE_PRECISION): Check for non-VECTOR_TYPE. + (TYPE_PRECISION_RAW): Provide raw access to the precision + field. + * tree.cc (verify_type_variant): Compare TYPE_PRECISION_RAW. + (gimple_canonical_types_compatible_p): Likewise. + * tree-streamer-out.cc (pack_ts_type_common_value_fields): + Stream TYPE_PRECISION_RAW. + * tree-streamer-in.cc (unpack_ts_type_common_value_fields): + Likewise. + * lto-streamer-out.cc (hash_tree): Hash TYPE_PRECISION_RAW. + +2023-06-28 Alexandre Oliva + + * doc/extend.texi (zero-call-used-regs): Document leafy and + variants thereof. + * flag-types.h (zero_regs_flags): Add LEAFY_MODE, as well as + LEAFY and variants. + * function.cc (gen_call_ued_regs_seq): Set only_used for leaf + functions in leafy mode. + * opts.cc (zero_call_used_regs_opts): Add leafy and variants. + +2023-06-28 Juzhe-Zhong + + * config/riscv/riscv-vector-builtins-bases.cc: Adapt expand. + * config/riscv/vector.md (@pred_single_widen_): + Remove. + (@pred_single_widen_add): New pattern. + (@pred_single_widen_sub): New pattern. + +2023-06-28 liuhongt + + * config/i386/i386.cc (ix86_invalid_conversion): New function. + (TARGET_INVALID_CONVERSION): Define as + ix86_invalid_conversion. + 2023-06-27 Robin Dapp * config/riscv/autovec.md (2): New diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index fff3166d023..d3dd503874a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230628 +20230629 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6fd96bf31d6..395d88dd6b4 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2023-06-28 Jason Merrill + + PR c++/110344 + * c-cppbuiltin.cc (c_cpp_builtins): Update __cpp_constexpr. + 2023-06-26 Richard Biener * c-common.cc (shorten_binary_op): Exit early for VECTOR_TYPE diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 280e3735e6b..70d1b63eac1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,41 @@ +2023-06-28 Patrick Palka + + PR c++/89442 + PR c++/107437 + * cp-tree.h (lookup_template_variable): Add complain parameter. + * parser.cc (cp_parser_template_id): Pass tf_warning_or_error + to lookup_template_variable. + * pt.cc (lookup_template_variable): Add complain parameter. + Coerce template arguments here ... + (finish_template_variable): ... instead of here. + (lookup_and_finish_template_variable): Check for error_mark_node + result from lookup_template_variable. + (tsubst_copy) : Pass complain to + lookup_template_variable. + (instantiate_template): Use build2 instead of + lookup_template_variable to build a TEMPLATE_ID_EXPR + for most_specialized_partial_spec. + +2023-06-28 Marek Polacek + + PR c++/110175 + * typeck.cc (cp_build_unary_op): Check tf_warning before warning. + +2023-06-28 Jason Merrill + + PR c++/110334 + * cp-tree.h (clone_attrs): Declare. + * method.cc (implicitly_declare_fn): Use it for inherited + constructor. + * optimize.cc (clone_attrs): New. + (maybe_clone_body): Use it. + +2023-06-28 Jason Merrill + + PR c++/110344 + * constexpr.cc (cxx_eval_constant_expression): In C++26, allow cast + from void* to the type of a pointed-to object. + 2023-06-23 David Malcolm PR c++/110164 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index ddaa8c3e418..04bc1a90716 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,18 @@ +2023-06-28 Iain Buclaw + + PR d/106977 + PR target/110406 + * types.cc (finish_aggregate_mode): New function. + (finish_incomplete_fields): Call finish_aggregate_mode. + (finish_aggregate_type): Replace call to compute_record_mode with + finish_aggregate_mode. + +2023-06-28 Iain Buclaw + + PR d/110193 + * types.cc (d_signed_or_unsigned_type): Handle being called with any + vector or non-integral type. + 2023-06-26 Iain Buclaw PR d/110359 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b452bc955f1..92385a0fee4 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,23 @@ +2023-06-28 Harald Anlauf + + PR fortran/110360 + * trans-expr.cc (gfc_conv_procedure_call): For non-constant string + argument passed to CHARACTER(LEN=1),VALUE dummy, ensure proper + dereferencing and truncation of string to length 1. + +2023-06-28 Paul Thomas + + PR fortran/49213 + * expr.cc (gfc_is_ptr_fcn): Remove reference to class_pointer. + * resolve.cc (resolve_assoc_var): Call gfc_is_ptr_fcn to allow + associate names with pointer function targets to be used in + variable definition context. + * trans-decl.cc (get_symbol_decl): Remove extraneous line. + * trans-expr.cc (alloc_scalar_allocatable_subcomponent): Obtain + size of intrinsic and character expressions. + (gfc_trans_subcomponent_assign): Expand assignment to class + components to include intrinsic and character expressions. + 2023-06-24 Harald Anlauf PR fortran/110360 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 15464c9a9f9..d4d9d88cec4 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2023-06-28 Richard Biener + + * lto-common.cc (compare_tree_sccs_1): Use TYPE_PRECISION_RAW. + 2023-05-18 Bernhard Reutner-Fischer * lto-common.cc (lto_maybe_register_decl): Use _P defines from tree.h. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c8a9772846b..fd1d40ba524 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,166 @@ +2023-06-28 Hans-Peter Nilsson + + * lib/target-supports.exp (check_effective_target_lra): Remove + cris-*-* from expression for exceptions to LRA. + +2023-06-28 Jan Hubicka + + PR middle-end/110334 + * g++.dg/opt/pr66119.C: Disable early inlining. + * gcc.c-torture/compile/pr110334.c: New test. + * gcc.dg/tree-ssa/pr110334.c: New test. + +2023-06-28 Harald Anlauf + + PR fortran/110360 + * gfortran.dg/value_9.f90: Add tests for intermediate regression. + +2023-06-28 Patrick Palka + + PR c++/89442 + PR c++/107437 + * g++.dg/cpp/pr64127.C: Expect "expected unqualified-id at end + of input" error. + * g++.dg/cpp0x/alias-decl-ttp1.C: Fix template parameter/argument + kind mismatch for variable template has_P_match_V. + * g++.dg/cpp1y/pr72759.C: Expect "template argument 1 is invalid" + error. + * g++.dg/cpp1z/constexpr-if20.C: XFAIL test due to bogus "'i' is + not captured" error. + * g++.dg/cpp1z/noexcept-type21.C: Fix arity of variable template d. + * g++.dg/diagnostic/not-a-function-template-1.C: Add default + template argument to variable template A so that A<> is valid. + * g++.dg/parse/error56.C: Don't expect "ISO C++ forbids + declaration with no type" error. + * g++.dg/parse/template30.C: Don't expect "parse error in + template argument list" error. + * g++.dg/cpp1y/var-templ82.C: New test. + +2023-06-28 Iain Buclaw + + PR d/106977 + PR target/110406 + * gdc.dg/torture/pr110406.d: New test. + +2023-06-28 Marek Polacek + + PR c++/110175 + * g++.dg/cpp0x/decltype-110175.C: New test. + +2023-06-28 Manolis Tsamis + + PR debug/110308 + * g++.dg/torture/pr110308.C: New test. + +2023-06-28 Christophe Lyon + + * gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c: Fix .fpu + scan-assembler. + * gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c: Likewise. + +2023-06-28 Christophe Lyon + + * gcc.target/arm/mve/general-c/nomve_fp_1.c: Require arm_fp. + +2023-06-28 Richard Biener + + PR tree-optimization/110451 + * gfortran.dg/vect/pr110451.f: New testcase. + +2023-06-28 Paul Thomas + + PR fortran/49213 + * gfortran.dg/pr49213.f90 : New test + +2023-06-28 Roger Sayle + + * gcc.target/i386/pieces-memcmp-2.c: New test case. + +2023-06-28 Richard Biener + + PR tree-optimization/110443 + * gcc.dg/torture/pr110443.c: New testcase. + +2023-06-28 Haochen Gui + + * gcc.dg/rtl/powerpc/move_compare_peephole_32.c: New. + * gcc.dg/rtl/powerpc/move_compare_peephole_64.c: New. + +2023-06-28 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/widen/widen-8.c: Add floating-point. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run_zvfh-8.c: New test. + +2023-06-28 Haochen Gui + + PR target/104124 + * gcc.target/powerpc/pr104124.c: New. + +2023-06-28 Jan Hubicka + + PR tree-optimization/110377 + * gcc.dg/ipa/pr110377.c: New test. + +2023-06-28 Andrew Pinski + + PR tree-optimization/110444 + * gcc.c-torture/compile/pr110444-1.c: New test. + +2023-06-28 Jason Merrill + + PR c++/110334 + * g++.dg/cpp1z/nodiscard-inh1.C: New test. + +2023-06-28 Alexandre Oliva + + * c-c++-common/zero-scratch-regs-leafy-1.c: New. + * c-c++-common/zero-scratch-regs-leafy-2.c: New. + * gcc.target/i386/zero-scratch-regs-leafy-1.c: New. + * gcc.target/i386/zero-scratch-regs-leafy-2.c: New. + +2023-06-28 Alexandre Oliva + + * gcc.misc-tests/outputs.exp (gld): Note a known mismatch and + record a workaround. + +2023-06-28 Jason Merrill + + PR c++/110344 + * g++.dg/cpp26/constexpr-voidptr1.C: New test. + * g++.dg/cpp26/constexpr-voidptr2.C: New test. + * g++.dg/cpp26/feat-cxx26.C: New test. + +2023-06-28 Jason Merrill + + * lib/g++-dg.exp (g++-dg-runtest): Update for C++26. + +2023-06-28 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/widen/widen-1.c: Add floating-point. + * gcc.target/riscv/rvv/autovec/widen/widen-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen_run_zvfh-1.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run_zvfh-2.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run_zvfh-5.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run_zvfh-6.c: New test. + +2023-06-28 Hongyu Wang + + * gcc.target/i386/mvc17.c: Add -march=x86-64 to dg-options. + +2023-06-28 liuhongt + + * gcc.target/i386/bf16_short_warn.c: New test. + 2023-06-27 Robin Dapp * gcc.target/riscv/rvv/autovec/conversions/vfncvt-ftoi-run.c: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e8814c964fe..4b9d67c486b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2023-06-28 Jan Hubicka + + PR middle-end/109849 + * include/bits/c++config (std::__terminate): Mark cold. + * include/bits/functexcept.h: Mark everything as cold. + * libsupc++/exception: Mark terminate and unexpected as cold. + 2023-06-26 Thomas Rodgers * include/pstl/algorithm_fwd.h: Synchronize with upstream.