]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 29 Jun 2023 00:17:55 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 29 Jun 2023 00:17:55 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/d/ChangeLog
gcc/fortran/ChangeLog
gcc/lto/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index fc32863785040ca92fdcd87783856c7c84acdd84..ab319b88dd9c8a28bebd7e2091d44e1dc28c3ac6 100644 (file)
@@ -1,3 +1,168 @@
+2023-06-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/110144
+       * config/cris/cris.cc (cris_postdbr_cmpelim): Don't apply PATTERN
+       to insn before validating it.
+
+2023-06-28  Jan Hubicka  <jh@suse.cz>
+
+       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  <ubizjak@gmail.com>
+
+       * 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  <manolis.tsamis@vrull.eu>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/110434
+       * tree-nrv.cc (pass_nrv::execute): Remove CLOBBERs of
+       VAR we replace with <retval>.
+
+2023-06-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/110451
+       * tree-ssa-loop-im.cc (stmt_cost): [VEC_]COND_EXPR and
+       tcc_comparison are expensive.
+
+2023-06-28  Roger Sayle  <roger@nextmovesoftware.com>
+
+       * config/i386/i386-expand.cc (ix86_expand_branch): Also use ptest
+       for TImode comparisons on 32-bit architectures.
+       * config/i386/i386.md (cbranch<mode>4): 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  <roger@nextmovesoftware.com>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/110443
+       * tree-vect-slp.cc (vect_build_slp_tree_1): Reject non-grouped
+       gather loads.
+
+2023-06-28  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       * 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<mode>_internal2): Change the mode iterator from P to WORD.
+       (split pattern for compare_and_move): Likewise.
+
+2023-06-28  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/autovec-opt.md (*double_widen_fma<mode>): New pattern.
+       (*single_widen_fma<mode>): Ditto.
+
+2023-06-28  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       PR target/104124
+       * config/rs6000/altivec.md (*altivec_vupkhs<VU_char>_direct): Rename
+       to...
+       (altivec_vupkhs<VU_char>_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  <jh@suse.cz>
+
+       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  <rguenther@suse.de>
+
+       * 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  <oliva@adacore.com>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/riscv-vector-builtins-bases.cc: Adapt expand.
+       * config/riscv/vector.md (@pred_single_widen_<plus_minus:optab><mode>):
+       Remove.
+       (@pred_single_widen_add<mode>): New pattern.
+       (@pred_single_widen_sub<mode>): New pattern.
+
+2023-06-28  liuhongt  <hongtao.liu@intel.com>
+
+       * config/i386/i386.cc (ix86_invalid_conversion): New function.
+       (TARGET_INVALID_CONVERSION): Define as
+       ix86_invalid_conversion.
+
 2023-06-27  Robin Dapp  <rdapp@ventanamicro.com>
 
        * config/riscv/autovec.md (<optab><vnconvert><mode>2): New
index fff3166d023415999c00f4384b230167a2f06a6c..d3dd503874a91f82840be6875337435e98714fb4 100644 (file)
@@ -1 +1 @@
-20230628
+20230629
index 6fd96bf31d6c00403a9330b51ec9cccb91033cf4..395d88dd6b4be3935a136e5129892ca0d59bd313 100644 (file)
@@ -1,3 +1,8 @@
+2023-06-28  Jason Merrill  <jason@redhat.com>
+
+       PR c++/110344
+       * c-cppbuiltin.cc (c_cpp_builtins): Update __cpp_constexpr.
+
 2023-06-26  Richard Biener  <rguenther@suse.de>
 
        * c-common.cc (shorten_binary_op): Exit early for VECTOR_TYPE
index 280e3735e6b6cc42d4ba2cf0bda3d92dbe8ebce1..70d1b63eac16c9e87fc2e0b28bfd98bccc48020c 100644 (file)
@@ -1,3 +1,41 @@
+2023-06-28  Patrick Palka  <ppalka@redhat.com>
+
+       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) <case TEMPLATE_ID_EXPR>: 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  <polacek@redhat.com>
+
+       PR c++/110175
+       * typeck.cc (cp_build_unary_op): Check tf_warning before warning.
+
+2023-06-28  Jason Merrill  <jason@redhat.com>
+
+       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  <jason@redhat.com>
+
+       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  <dmalcolm@redhat.com>
 
        PR c++/110164
index ddaa8c3e418a350b602f564beabdb7381dcb4ec5..04bc1a9071607c26eeafa76067f17492e4dc340e 100644 (file)
@@ -1,3 +1,18 @@
+2023-06-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       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  <ibuclaw@gdcproject.org>
+
+       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  <ibuclaw@gdcproject.org>
 
        PR d/110359
index b452bc955f1bac525ac62e2ca81640ae0c5e3085..92385a0fee45a24f481d12a3215bd4b969ab8d3b 100644 (file)
@@ -1,3 +1,23 @@
+2023-06-28  Harald Anlauf  <anlauf@gmx.de>
+
+       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  <pault@gcc.gnu.org>
+
+       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  <anlauf@gmx.de>
 
        PR fortran/110360
index 15464c9a9f9c5893c67c2723a40d249726c6959c..d4d9d88cec4a5521b82d8de0b87f18403c3c6712 100644 (file)
@@ -1,3 +1,7 @@
+2023-06-28  Richard Biener  <rguenther@suse.de>
+
+       * lto-common.cc (compare_tree_sccs_1): Use TYPE_PRECISION_RAW.
+
 2023-05-18  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
        * lto-common.cc (lto_maybe_register_decl): Use _P defines from tree.h.
index c8a9772846b6603e2d99c2dccf625e83504c582d..fd1d40ba524f4e9defad2b68215d508ff82ee35d 100644 (file)
@@ -1,3 +1,166 @@
+2023-06-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lib/target-supports.exp (check_effective_target_lra): Remove
+       cris-*-* from expression for exceptions to LRA.
+
+2023-06-28  Jan Hubicka  <jh@suse.cz>
+
+       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  <anlauf@gmx.de>
+
+       PR fortran/110360
+       * gfortran.dg/value_9.f90: Add tests for intermediate regression.
+
+2023-06-28  Patrick Palka  <ppalka@redhat.com>
+
+       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  <ibuclaw@gdcproject.org>
+
+       PR d/106977
+       PR target/110406
+       * gdc.dg/torture/pr110406.d: New test.
+
+2023-06-28  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/110175
+       * g++.dg/cpp0x/decltype-110175.C: New test.
+
+2023-06-28  Manolis Tsamis  <manolis.tsamis@vrull.eu>
+
+       PR debug/110308
+       * g++.dg/torture/pr110308.C: New test.
+
+2023-06-28  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * 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  <christophe.lyon@linaro.org>
+
+       * gcc.target/arm/mve/general-c/nomve_fp_1.c: Require arm_fp.
+
+2023-06-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/110451
+       * gfortran.dg/vect/pr110451.f: New testcase.
+
+2023-06-28  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/49213
+       * gfortran.dg/pr49213.f90 : New test
+
+2023-06-28  Roger Sayle  <roger@nextmovesoftware.com>
+
+       * gcc.target/i386/pieces-memcmp-2.c: New test case.
+
+2023-06-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/110443
+       * gcc.dg/torture/pr110443.c: New testcase.
+
+2023-06-28  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * 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  <guihaoc@gcc.gnu.org>
+
+       PR target/104124
+       * gcc.target/powerpc/pr104124.c: New.
+
+2023-06-28  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/110377
+       * gcc.dg/ipa/pr110377.c: New test.
+
+2023-06-28  Andrew Pinski  <apinski@marvell.com>
+
+       PR tree-optimization/110444
+       * gcc.c-torture/compile/pr110444-1.c: New test.
+
+2023-06-28  Jason Merrill  <jason@redhat.com>
+
+       PR c++/110334
+       * g++.dg/cpp1z/nodiscard-inh1.C: New test.
+
+2023-06-28  Alexandre Oliva  <oliva@adacore.com>
+
+       * 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  <oliva@adacore.com>
+
+       * gcc.misc-tests/outputs.exp (gld): Note a known mismatch and
+       record a workaround.
+
+2023-06-28  Jason Merrill  <jason@redhat.com>
+
+       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  <jason@redhat.com>
+
+       * lib/g++-dg.exp (g++-dg-runtest): Update for C++26.
+
+2023-06-28  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * 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  <hongyu.wang@intel.com>
+
+       * gcc.target/i386/mvc17.c: Add -march=x86-64 to dg-options.
+
+2023-06-28  liuhongt  <hongtao.liu@intel.com>
+
+       * gcc.target/i386/bf16_short_warn.c: New test.
+
 2023-06-27  Robin Dapp  <rdapp@ventanamicro.com>
 
        * gcc.target/riscv/rvv/autovec/conversions/vfncvt-ftoi-run.c: New test.
index e8814c964fe458654d131fc9a7d292d9dd450b47..4b9d67c486b5c1ed97153f60d10ac3fd834a3654 100644 (file)
@@ -1,3 +1,10 @@
+2023-06-28  Jan Hubicka  <jh@suse.cz>
+
+       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  <trodgers@redhat.com>
 
        * include/pstl/algorithm_fwd.h: Synchronize with upstream.