From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 40D1D3858410; Wed, 17 Nov 2021 00:17:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 40D1D3858410 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-5327] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 73e4d9f1751fd6d3c182988b2f9d0199c86053c9 X-Git-Newrev: 6b1695f4a094f99575c9d067da6277bb4302fb89 Message-Id: <20211117001711.40D1D3858410@sourceware.org> Date: Wed, 17 Nov 2021 00:17:11 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2021 00:17:11 -0000 https://gcc.gnu.org/g:6b1695f4a094f99575c9d067da6277bb4302fb89 commit r12-5327-g6b1695f4a094f99575c9d067da6277bb4302fb89 Author: GCC Administrator Date: Wed Nov 17 00:16:29 2021 +0000 Daily bump. Diff: --- ChangeLog | 14 ++++++ gcc/ChangeLog | 131 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 6 +++ gcc/c-family/ChangeLog | 5 ++ gcc/cp/ChangeLog | 4 ++ gcc/fortran/ChangeLog | 60 ++++++++++++++++++++++ gcc/testsuite/ChangeLog | 94 ++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 69 +++++++++++++++++++++++++ 10 files changed, 389 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4b8570bc974..a6cbdce3b54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2021-11-16 Martin Uecker + + * MAINTAINERS: Add myself to DCO section and update email address. + +2021-11-16 Iain Sandoe + + * configure: Regenerate. + * configure.ac: Ensure that PIC (shared) defaults are set + correctly for Darwin. + +2021-11-16 Jim Wilson + + * MAINTAINERS: Update my address. + 2021-11-12 Alan Modra * Makefile.def (configure-opcodes): Depend on configure-bfd. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52de288664a..0fb25677594 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,134 @@ +2021-11-16 Jan Hubicka + + * ipa-modref.c (get_modref_function_summary): Declare. + * ipa-modref.h (get_modref_function_summary): New function. + * tree-ssa-dse.c (clear_live_bytes_for_ref): Break out from ... + (clear_bytes_written_by): ... here; also clear memory killed by + calls. + +2021-11-16 Iain Sandoe + + * ggc-common.c (gt_pch_save): If we cannot find a suitable + memory segment for save, then error-out, do not try to + continue. + (gt_pch_restore): Save the existing line table, and when + the replacement is being read, use that when constructing + diagnostics. + +2021-11-16 Peter Bergner + + PR target/102976 + * config/rs6000/mma.md (*vsx_assemble_pair): Add early-clobber for + output operand. + (*mma_assemble_acc): Likewise. + +2021-11-16 Martin Sebor + + PR tree-optimization/102960 + * gimple-fold.c (get_range_strlen): Take bitmap as an argument rather + than a pointer to it. + (get_range_strlen_tree): Same. Remove bitmap allocation. Use + an auto_bitmap. + (get_maxval_strlen): Use an auto_bitmap. + * tree-ssa-strlen.c (get_range_strlen_dynamic): Factor out PHI + handling... + (get_range_strlen_phi): ...into this function. + Avoid assuming maximum string length is constant + (printf_strlen_execute): Dump pointer query cache contents when + details are requisted. + +2021-11-16 Jason Merrill + + * langhooks.h (struct lang_hooks): Adjust comment. + * print-tree.c (print_node): Also call print_xnode hook for + tcc_constant class. + +2021-11-16 Andrew Pinski + + PR tree-optimization/103218 + * match.pd: New pattern for "((type)(a<0)) << SIGNBITOFA". + +2021-11-16 Claudiu Zissulescu + + * config/arc/arc.md (maddhisi4): Use a single move to accumulator. + (umaddhisi4): Likewise. + (machi): Update pattern. + (umachi): Likewise. + +2021-11-16 Richard Biener + + PR tree-optimization/102880 + * tree-ssa-dce.c (sort_phi_args): New function. + (make_forwarders_with_degenerate_phis): Likewise. + (perform_tree_ssa_dce): Call + make_forwarders_with_degenerate_phis. + +2021-11-16 Richard Biener + + PR tree-optimization/102880 + * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Push + single_pred (bb1) condition to places that really need it. + (match_simplify_replacement): Likewise. + (value_replacement): Likewise. + (replace_phi_edge_with_variable): Deal with extra edges + into the middle BB. + +2021-11-16 Martin Jambor + + * cfgexpand.c (expand_gimple_basic_block): Use build_debug_expr_decl, + add a fixme note about the mode assignment perhaps being unnecessary. + * ipa-param-manipulation.c (ipa_param_adjustments::modify_call): + Likewise. + (ipa_param_body_adjustments::mark_dead_statements): Likewise. + (ipa_param_body_adjustments::reset_debug_stmts): Likewise. + * tree-inline.c (remap_ssa_name): Likewise. + (tree_function_versioning): Likewise. + * tree-into-ssa.c (rewrite_debug_stmt_uses): Likewise. + * tree-ssa-loop-ivopts.c (remove_unused_ivs): Likewise. + * tree-ssa.c (insert_debug_temp_for_var_def): Likewise. + +2021-11-16 Jakub Jelinek + + PR tree-optimization/103208 + * omp-expand.c (expand_omp_build_cond): New function. + (expand_omp_for_init_counts, expand_omp_for_init_vars, + expand_omp_for_static_nochunk, expand_omp_for_static_chunk): Use it. + +2021-11-16 Jakub Jelinek + + PR tree-optimization/102009 + * gimple-ssa-warn-access.cc (pass_waccess::check_alloc_size_call): + Punt if any of alloc_size arguments is out of bounds vs. number of + call arguments. + +2021-11-16 Roger Sayle + + * config/i386/i386.md (*bmi2_rorx_1): Make conditional + on !optimize_function_for_size_p. + (*3_1): Add preferred_for_size attribute. + (define_splits): Conditionalize on !optimize_function_for_size_p. + (*bmi2_rorxsi3_1_zext): Likewise. + (*si2_1_zext): Add preferred_for_size attribute. + (define_splits): Conditionalize on !optimize_function_for_size_p. + +2021-11-16 Jan Hubicka + + PR ipa/103262 + * ipa-modref.c (merge_call_side_effects): Fix uninitialized + access. + +2021-11-16 Andrew Pinski + + PR tree-optimization/103245 + * match.pd: Combine the abs pattern matching using multiplication. + Adding optional nop_convert too. + +2021-11-16 H.J. Lu + + PR middle-end/103268 + * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Add a missing + return. + 2021-11-15 Siddhesh Poyarekar * gimple-fold.c (gimple_fold_builtin_strncat): Use ranges to diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7090fb4b3b1..530e4a51b6a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211116 +20211117 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 40678a16077..be7b286f778 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2021-11-16 David Malcolm + + PR analyzer/102662 + * constraint-manager.cc (bounded_range::operator==): Require the + types to be the same for equality. + 2021-11-13 David Malcolm * analyzer.opt (Wanalyzer-tainted-allocation-size): New. diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 7ed01020ecc..c5ae8c104b7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2021-11-16 Jason Merrill + + * c-common.c (release_tree_vector): Only cache vecs smaller than + 16 elements. + 2021-11-15 Jason Merrill * c.opt: Add -fimplicit-constexpr. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 61ce6295b2d..ac52e3b4a69 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2021-11-16 Jason Merrill + + * ptree.c (cxx_print_xnode): Handle PTRMEM_CST. + 2021-11-15 Jason Merrill * cp-tree.h (struct lang_decl_fn): Add implicit_constexpr. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 10dfca4127e..f5abad99572 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,63 @@ +2021-11-16 Harald Anlauf + + PR fortran/103286 + * resolve.c (resolve_select): Choose appropriate range limit to + avoid NULL pointer dereference when generating error message. + +2021-11-16 Mikael Morin + + * interface.c (gfc_dummy_arg_get_name): New function. + * gfortran.h (gfc_dummy_arg_get_name): Declare it. + * trans-array.c (arg_evaluated_for_scalarization): Pass a dummy + argument wrapper as argument instead of an actual argument + and an index number. Check it’s non-NULL. Use its name + to identify it. + (gfc_walk_elemental_function_args): Update call to + arg_evaluated for scalarization. Remove argument counting. + +2021-11-16 Mikael Morin + + * gfortran.h (gfc_actual_arglist::missing_arg_type): Remove. + * interface.c (gfc_compare_actual_formal): Remove + missing_arg_type initialization. + * intrinsic.c (sort_actual): Ditto. + * trans-expr.c (gfc_conv_procedure_call): Use associated_dummy + and gfc_dummy_arg_get_typespec to get the dummy argument type. + +2021-11-16 Mikael Morin + + * interface.c (gfc_dummy_arg_get_typespec, + gfc_dummy_arg_is_optional): New functions. + * gfortran.h (gfc_dummy_arg_get_typespec, + gfc_dummy_arg_is_optional): Declare them. + * trans.h (gfc_ss_info::dummy_arg): Use the wrapper type + as declaration type. + * trans-array.c (gfc_scalar_elemental_arg_saved_as_reference): + use gfc_dummy_arg_get_typespec function to get the type. + (gfc_walk_elemental_function_args): Remove proc_ifc argument. + Get info about the dummy arg using the associated_dummy field. + * trans-array.h (gfc_walk_elemental_function_args): Update declaration. + * trans-intrinsic.c (gfc_walk_intrinsic_function): + Update call to gfc_walk_elemental_function_args. + * trans-stmt.c (gfc_trans_call): Ditto. + (get_proc_ifc_for_call): Remove. + +2021-11-16 Mikael Morin + + * gfortran.h (gfc_dummy_arg_kind, gfc_dummy_arg): New. + (gfc_actual_arglist): New field associated_dummy. + (gfc_intrinsic_arg): Remove field actual. + * interface.c (get_nonintrinsic_dummy_arg): New. + (gfc_compare_actual): Initialize associated_dummy. + * intrinsic.c (get_intrinsic_dummy_arg): New. + (sort_actual):  Add argument vectors. + Use loops with indices on argument vectors. + Initialize associated_dummy. + +2021-11-16 Mikael Morin + + * intrinsic.c (sort_actual): initialise variable and use it earlier. + 2021-11-15 Tobias Burnus * openmp.c (OMP_TARGET_CLAUSES): Add thread_limit. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b221cba038d..566c5718aab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,97 @@ +2021-11-16 Jan Hubicka + + * gcc.dg/tree-ssa/modref-dse-4.c: New test. + +2021-11-16 Harald Anlauf + + PR fortran/103286 + * gfortran.dg/pr103286.f90: New test. + +2021-11-16 Peter Bergner + + PR target/102976 + * gcc.target/powerpc/pr102976.c: New test. + +2021-11-16 Martin Sebor + + PR tree-optimization/102960 + * gcc.dg/Wstringop-overflow-84.c: New test. + +2021-11-16 Tamar Christina + + * gcc.target/aarch64/shrn-combine-10.c: Use shrn. + +2021-11-16 Tamar Christina + + * gcc.dg/signbit-2.c: CHeck vect or scalar. + +2021-11-16 David Malcolm + + PR analyzer/102662 + * g++.dg/analyzer/pr102662.C: New test. + +2021-11-16 Andrew Pinski + + PR tree-optimization/103218 + * gcc.dg/tree-ssa/pr103218-1.c: New test. + +2021-11-16 Claudiu Zissulescu + + * gcc.target/arc/tmac-4.c: New test. + +2021-11-16 Richard Biener + + PR tree-optimization/102880 + * gcc.dg/tree-ssa/pr102880.c: New testcase. + * gcc.dg/tree-ssa/pr69270-3.c: Robustify. + * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Change the number of + expected threadings. + +2021-11-16 Richard Biener + + PR tree-optimization/102880 + * gcc.dg/tree-ssa/phi-opt-26.c: New testcase. + +2021-11-16 Claudiu Zissulescu + + * gcc.target/arc/add_n-combine.c: Update test patterns. + * gcc.target/arc/builtin_eh.c: Update test for linux platforms. + * gcc.target/arc/mul64-1.c: Disable this test while running on + linux. + * gcc.target/arc/tls-gd.c: Update matching patterns. + * gcc.target/arc/tls-ie.c: Likewise. + * gcc.target/arc/tls-ld.c: Likewise. + * gcc.target/arc/uncached-8.c: Likewise. + +2021-11-16 Martin Jambor + + * gcc.dg/ipa/ipa-sra-ret-nonull.c: New test. + +2021-11-16 Jakub Jelinek + + PR tree-optimization/103208 + * c-c++-common/gomp/loop-11.c: New test. + +2021-11-16 Jakub Jelinek + + PR tree-optimization/102009 + * gcc.dg/pr102009.c: New test. + +2021-11-16 Jan Hubicka + + * gcc.dg/tree-ssa/modref-dse-5.c: New test. + +2021-11-16 Andrew Pinski + + PR tree-optimization/103245 + * gcc.dg/tree-ssa/pr103245-1.c: New test. + +2021-11-16 H.J. Lu + + PR middle-end/103268 + * gcc.dg/pr103268-1.c: New test. + * gcc.dg/pr103268-2.c: Likewise. + 2021-11-15 Jason Merrill * lib/g++-dg.exp: Handle "impcx". diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 21c92711283..b3b7ec56932 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2021-11-16 Jakub Jelinek + + * libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target + construct as implemented. + 2021-11-15 Tobias Burnus * testsuite/libgomp.fortran/thread-limit-1.f90: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cb6a8a3925a..bce2aa9bfde 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,72 @@ +2021-11-16 Jonathan Wakely + + * include/bits/basic_string.h (operator<=>): Use constexpr + unconditionally. + * testsuite/21_strings/basic_string/modifiers/constexpr.cc: + Require cxx11-abit effective target. + * testsuite/21_strings/headers/string/synopsis.cc: Add + conditional constexpr to declarations, and adjust relational + operators for C++20. + +2021-11-16 Patrick Palka + + * src/c++17/ryu/MERGE: Update the commit hash. + * src/c++17/ryu/d2s_intrinsics.h: Merge from Ryu's master + branch. + +2021-11-16 Michael de Lang + + * include/bits/basic_string.h (basic_string, operator""s): Add + constexpr for C++20. + (basic_string::basic_string(basic_string&&)): Only copy + initialized portion of the buffer. + (basic_string::basic_string(basic_string&&, const Alloc&)): + Likewise. + * include/bits/basic_string.tcc (basic_string): Add constexpr + for C++20. + (basic_string::swap(basic_string&)): Only copy initialized + portions of the buffers. + (basic_string::_M_replace): Add constexpr implementation that + doesn't depend on pointer comparisons. + * include/bits/cow_string.h: Adjust comment. + * include/ext/type_traits.h (__is_null_pointer): Add constexpr. + * include/std/string (erase, erase_if): Add constexpr. + * include/std/version (__cpp_lib_constexpr_string): Update + value. + * testsuite/21_strings/basic_string/cons/char/constexpr.cc: + New test. + * testsuite/21_strings/basic_string/cons/wchar_t/constexpr.cc: + New test. + * testsuite/21_strings/basic_string/literals/constexpr.cc: + New test. + * testsuite/21_strings/basic_string/modifiers/constexpr.cc: New test. + * testsuite/21_strings/basic_string/modifiers/swap/char/constexpr.cc: + New test. + * testsuite/21_strings/basic_string/modifiers/swap/wchar_t/constexpr.cc: + New test. + * testsuite/21_strings/basic_string/version.cc: New test. + +2021-11-16 Jonathan Wakely + + * include/bits/stl_bvector.h (swap(_Bit_reference, _Bit_reference)) + (swap(_Bit_reference, bool&), swap(bool&, _Bit_reference)): + Define as hidden friends of _Bit_reference. + +2021-11-16 Jonathan Wakely + + * testsuite/21_strings/basic_string/modifiers/append/wchar_t/1.cc: + Fix reads past the end of strings. + * testsuite/21_strings/basic_string/operations/compare/wchar_t/1.cc: + Likewise. + * testsuite/experimental/string_view/operations/compare/wchar_t/1.cc: + Likewise. + +2021-11-16 Jonathan Wakely + + * testsuite/21_strings/basic_string/allocator/71964.cc: Fix + typo. + * testsuite/23_containers/set/allocator/71964.cc: Likewise. + 2021-11-15 Jason Merrill * testsuite/20_util/to_address/1_neg.cc: Adjust error.