https://gcc.gnu.org/g:5c265693bfa8e5f205e81c0452d54800334c32a9 commit 5c265693bfa8e5f205e81c0452d54800334c32a9 Author: GCC Administrator Date: Wed Aug 19 00:16:23 2020 +0000 Daily bump. Diff: --- gcc/ChangeLog | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 19 ++++++++++++++ gcc/c/ChangeLog | 7 +++++ gcc/cp/ChangeLog | 29 +++++++++++++++++++++ gcc/d/ChangeLog | 6 +++++ gcc/fortran/ChangeLog | 9 +++++++ gcc/testsuite/ChangeLog | 65 ++++++++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 41 +++++++++++++++++++++++++++++ 9 files changed, 245 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59d7ae48134..e95ec61ce48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,71 @@ +2020-08-18 Peter Bergner + + * config/rs6000/rs6000-builtin.def (BU_VSX_1): Rename xvcvbf16sp to + xvcvbf16spn. + * config/rs6000/rs6000-call.c (builtin_function_type): Likewise. + * config/rs6000/vsx.md: Likewise. + * doc/extend.texi: Likewise. + +2020-08-18 Aaron Sawdey + + * config/rs6000/rs6000-string.c (gen_lxvl_stxvl_move): + Helper function. + (expand_block_move): Add lxvl/stxvl, vector pair, and + unaligned VSX. + * config/rs6000/rs6000.c (rs6000_option_override_internal): + Default value for -mblock-ops-vector-pair. + * config/rs6000/rs6000.opt: Add -mblock-ops-vector-pair. + +2020-08-18 Aldy Hernandez + + * vr-values.c (check_for_binary_op_overflow): Change type of store + to range_query. + (vr_values::adjust_range_with_scev): Abstract most of the code... + (range_of_var_in_loop): ...here. Remove value_range_equiv uses. + (simplify_using_ranges::simplify_using_ranges): Change type of store + to range_query. + * vr-values.h (class range_query): New. + (class simplify_using_ranges): Use range_query. + (class vr_values): Add OVERRIDE to get_value_range. + (range_of_var_in_loop): New. + +2020-08-18 Martin Sebor + + PR middle-end/96665 + PR middle-end/78257 + * expr.c (convert_to_bytes): Replace statically allocated buffer with + a dynamically allocated one of sufficient size. + +2020-08-18 Martin Sebor + + PR tree-optimization/96670 + PR middle-end/78257 + * gimple-fold.c (gimple_fold_builtin_memchr): Call byte_representation + to get it, not string_constant. + +2020-08-18 Hu Jiangping + + * doc/gimple.texi (gimple_debug_begin_stmt_p): Add return type. + (gimple_debug_inline_entry_p, gimple_debug_nonbind_marker_p): Likewise. + +2020-08-18 Martin Sebor + + * fold-const.c (native_encode_expr): Update comment. + +2020-08-18 Uroš Bizjak + + PR target/96536 + * config/i386/i386.md (restore_stack_nonlocal): Add missing compare + RTX. Rewrite expander to use high-level functions in RTL construction. + +2020-08-18 liuhongt + + PR target/96562 + PR target/93897 + * config/i386/i386-expand.c (ix86_expand_pinsr): Don't use + pinsr for TImode. + (ix86_expand_pextr): Don't use pextr for TImode. + 2020-08-17 Uroš Bizjak * config/i386/i386-builtin.def (__builtin_ia32_bextri_u32) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3b29b8dc124..a8098fbd6e3 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200818 +20200819 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index adf20ed460a..557b0264450 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,22 @@ +2020-08-18 David Malcolm + + * region-model.cc (region_model::get_rvalue_1): Fix name of local. + +2020-08-18 David Malcolm + + PR analyzer/96641 + * region-model.cc (region_model::get_rvalue_1): Handle + unrecognized tree codes by returning "UNKNOWN. + +2020-08-18 David Malcolm + + PR analyzer/96640 + * region-model.cc (region_model::get_gassign_result): Handle various + VEC_* tree codes by returning UNKNOWN. + (region_model::on_assignment): Handle unrecognized tree codes by + setting lhs to an unknown value, rather than issuing a "sorry" and + asserting. + 2020-08-17 David Malcolm PR analyzer/96644 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index e80c0409c2c..7839b9b6e01 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2020-08-18 Jakub Jelinek + + PR c/96571 + * c-parser.c (c_parser_generic_selection): Change match_found from bool + to int, holding index of the match. Call mark_exp_read on the selector + expression and on expressions other than the selected one. + 2020-08-01 Richard Sandiford PR c/96377 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0244459e2b8..217c040301f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,32 @@ +2020-08-18 Nathan Sidwell + + * cp-tree.h (SET_TYPE_TEMPLTE_INFO): Do not deal with ALIAS templates. + * pt.c (lookup_template_class_1): Special-case alias template + template_info setting. + +2020-08-18 Jason Merrill + + PR c++/96199 + * pt.c (tsubst_aggr_type): Rewrite in C++17, too. + (maybe_dependent_member_ref): Likewise. + (build_deduction_guide): Re-substitute template parms. + * cp-tree.h (struct push_nested_class_guard): New. + * constraint.cc (get_normalized_constraints_from_decl): Use it. + +2020-08-18 Jason Merrill + + PR c++/96199 + * pt.c (maybe_dependent_member_ref): New. + (tsubst_copy) [CONST_DECL]: Use it. + [VAR_DECL]: Likewise. + (tsubst_aggr_type): Handle nested type. + +2020-08-18 Nathan Sidwell + + * name-lookup.c (qualify_lookup): Drop lambda checking here. + Reorder namespace & type checking. + (lookup_name_1): Do hidden lambda checking here. + 2020-08-14 Nathan Sidwell * name-lookup.h (lookup_name_real, lookup_name_nonclass): Rename diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 1962dd62016..3910e0f6fbe 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,9 @@ +2020-08-18 Iain Buclaw + + PR d/96301 + * decl.cc (DeclVisitor::visit (FuncDeclaration *)): Only return + non-trivial structs by invisible reference. + 2020-08-04 Iain Buclaw PR d/96153 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 25f968e9090..1febec31e9d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2020-08-18 Harald Anlauf + + * check.c (check_rest): Reject MIN/MAX character arguments of + different kind. + * simplify.c (min_max_choose): The simplification result shall + have the highest kind value of the arguments. + * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Choose type and + kind of intermediate by looking at all arguments, not the result. + 2020-08-17 Martin Liska * openmp.c (resolve_omp_clauses): Add static assert diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b0c4bc96d7d..a390182bf36 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,68 @@ +2020-08-18 Peter Bergner + + * gcc.target/powerpc/mma-builtin-3.c: Rename xvcvbf16sp to xvcvbf16spn. + +2020-08-18 Jason Merrill + + PR c++/96199 + * g++.dg/cpp1z/class-deduction-spec1.C: New test. + +2020-08-18 Jason Merrill + + PR c++/96199 + * g++.dg/cpp2a/class-deduction-alias4.C: New test. + +2020-08-18 Harald Anlauf + + * gfortran.dg/minmax_char_3.f90: New test. + * gfortran.dg/min_max_kind.f90: New test. + * gfortran.dg/pr96613.f90: New test. + +2020-08-18 Martin Sebor + + PR middle-end/96665 + PR middle-end/78257 + * gcc.dg/memcmp-5.c: New test. + +2020-08-18 Martin Sebor + + PR tree-optimization/96670 + * gcc.dg/memchr-2.c: New test. + * gcc.dg/memcmp-6.c: New test. + +2020-08-18 Roger Sayle + Zdenek Sojka + + PR rtl-optimization/96298 + * gcc.dg/pr96298.c: New test. + * gcc.target/i386/pr96298.c: New test. + +2020-08-18 Iain Buclaw + + PR d/96301 + * gdc.dg/pr96301a.d: New test. + * gdc.dg/pr96301b.d: New test. + * gdc.dg/pr96301c.d: New test. + +2020-08-18 liuhongt + + * gcc.target/i386/pr96562-1.c: New test. + +2020-08-18 Jakub Jelinek + + PR c/96571 + * gcc.dg/Wunused-var-4.c: New test. + +2020-08-18 liuhongt + + PR target/96574 + * gcc.target/i386/pr92865-1.c: Adjust testcase. + +2020-08-18 David Malcolm + + PR analyzer/96641 + * g++.dg/analyzer/pr96641.C: New test. + 2020-08-17 David Malcolm PR analyzer/96644 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 177acf0d0d8..3f74cbe0380 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,44 @@ +2020-08-18 David Edelsohn + Clement Chigot + + * config/os/aix/t-aix: Add complementary mode object files to + libsupc++.a + +2020-08-18 Jonathan Wakely + + * testsuite/17_intro/headers/c++1998/all_attributes.cc: Check + "cold" isn't used in the library. Also check . + * testsuite/17_intro/headers/c++2011/all_attributes.cc: + Likewise. + * testsuite/17_intro/headers/c++2014/all_attributes.cc: + Likewise. + * testsuite/17_intro/headers/c++2017/all_attributes.cc: + Likewise. + * testsuite/17_intro/headers/c++2020/all_attributes.cc: + Likewise. + +2020-08-18 Jonathan Wakely + + PR libstdc++/69724 + * include/std/future (__future_base::_S_make_deferred_state) + (__future_base::_S_make_async_state): Remove. + (__future_base::_Deferred_state): Change constructor to accept a + parameter pack of arguments and forward them to the call + wrapper. + (__future_base::_Async_state_impl): Likewise. Replace lambda + expression with a named member function. + (async): Construct state object directly from the arguments, + instead of using thread::__make_invoker, _S_make_deferred_state + and _S_make_async_state. Move shared state into the returned + future. + * include/std/thread (thread::_Call_wrapper): New alias + template for use by constructor and std::async. + (thread::thread(Callable&&, Args&&...)): Create state object + directly instead of using _S_make_state. + (thread::__make_invoker, thread::__decayed_tuple) + (thread::_S_make_state): Remove. + * testsuite/30_threads/async/69724.cc: New test. + 2020-08-17 Jonathan Wakely PR libstdc++/55713