From af3f12e6e869adcbb1cec09cedba627d4bbf69a4 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 28 Jul 2021 00:16:25 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 132 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 ++ gcc/cp/ChangeLog | 9 ++++ gcc/testsuite/ChangeLog | 63 +++++++++++++++++++++++ libgomp/ChangeLog | 76 ++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 103 +++++++++++++++++++++++++++++++++++++ 7 files changed, 389 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd68e247297..f071d26cd30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,135 @@ +2021-07-27 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (write_ovld_static_init): New + function. + (write_init_file): Call write_ovld_static_init. + +2021-07-27 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (write_bif_static_init): New + function. + (write_init_file): Call write_bif_static_init. + +2021-07-27 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (typemap): New struct. + (TYPE_MAP_SIZE): New macro. + (type_map): New initialized variable. + (typemap_cmp): New function. + (write_type_node): Likewise. + (write_fntype_init): Implement. + +2021-07-27 Martin Sebor + + PR tree-optimization/101584 + * tree-ssa-uninit.c (builtin_call_nomodifying_p): New function. + (check_defs): Call it. + +2021-07-27 Aldy Hernandez + + * tree-ssa-dom.c (dom_jump_threader_simplifier): + Put avail_exprs_stack in the class, instead of passing it to + jump_threader_simplifier. + (dom_jump_threader_simplifier::simplify): Add state argument. + (dom_opt_dom_walker): Add state. + (pass_dominator::execute): Pass state to threader. + (dom_opt_dom_walker::before_dom_children): Use state. + * tree-ssa-threadedge.c (jump_threader::jump_threader): Replace + arguments by state. + (jump_threader::record_temporary_equivalences_from_phis): + Register equivalences through the state variable. + (jump_threader::record_temporary_equivalences_from_stmts_at_dest): + Record ranges in a statement through the state variable. + (jump_threader::simplify_control_stmt_condition): Pass state to + simplify. + (jump_threader::simplify_control_stmt_condition_1): Same. + (jump_threader::thread_around_empty_blocks): Remove obsolete + comment. + (jump_threader::thread_through_normal_block): Record equivalences + on edge through the state variable. + (jump_threader::thread_across_edge): Abstract state pushing. + (jt_state::jt_state): New. + (jt_state::push): New. + (jt_state::pop): New. + (jt_state::register_equiv): New. + (jt_state::record_ranges_from_stmt): New. + (jt_state::register_equivs_on_edge): New. + (jump_threader_simplifier::jump_threader_simplifier): Move from + header. + (jump_threader_simplifier::simplify): Add state argument. + * tree-ssa-threadedge.h (class jt_state): New. + (class jump_threader): Add state to constructor. + (class jump_threader_simplifier): Add state to simplify. Remove + avail_exprs_stack from class. + * tree-vrp.c (vrp_jump_threader_simplifier::simplify): Add state + argument. + (vrp_jump_threader::vrp_jump_threader): Add state. + (vrp_jump_threader::~vrp_jump_threader): Cleanup state. + +2021-07-27 Aldy Hernandez + + * Makefile.in (OBJS): Add gimple-range-path.o. + * gimple-range-path.cc: New file. + * gimple-range-path.h: New file. + +2021-07-27 Jonathan Wright + + * config/aarch64/aarch64-simd.md: Push sign/zero-extension + inside vec_duplicate for all patterns. + * simplify-rtx.c (simplify_context::simplify_unary_operation_1): + Push sign/zero-extension inside vec_duplicate. + +2021-07-27 Richard Biener + + PR tree-optimization/101573 + * tree-ssa-uninit.c (warn_uninit_phi_uses): New function + looking at uninitialized PHI arg defs in some constrained cases. + (warn_uninitialized_vars): Call it. + (execute_early_warn_uninitialized): Calculate dominators. + +2021-07-27 Richard Biener + + PR tree-optimization/39821 + * tree-vect-stmts.c (vect_model_promotion_demotion_cost): Use + vector_stmt for widening arithmetic. + (vectorizable_conversion): Adjust. + +2021-07-27 Martin Jambor + + * cgraph.h (ipa_replace_map): New field force_load_ref. + * ipa-prop.h (ipa_param_descriptor): Reduce precision of move_cost, + aded new flag load_dereferenced, adjusted comments. + (ipa_get_param_dereferenced): New function. + (ipa_set_param_dereferenced): Likewise. + * cgraphclones.c (cgraph_node::create_virtual_clone): Follow it. + * ipa-cp.c: Include gimple.h. + (ipcp_discover_new_direct_edges): Take into account dereferenced flag. + (get_replacement_map): New parameter force_load_ref, set the + appropriate flag in ipa_replace_map if set. + (struct symbol_and_index_together): New type. + (adjust_refs_in_act_callers): New function. + (adjust_references_in_caller): Likewise. + (create_specialized_node): When appropriate, call + adjust_references_in_caller and force only load references. + * ipa-prop.c (load_from_dereferenced_name): New function. + (ipa_analyze_controlled_uses): Also detect loads from a + dereference, harden testing of call statements. + (ipa_write_node_info): Stream the dereferenced flag. + (ipa_read_node_info): Likewise. + (ipa_set_jf_constant): Also create refdesc when jump function + references a variable. + (cgraph_node_for_jfunc): Rename to symtab_node_for_jfunc, work + also on references of variables and return a symtab_node. Adjust + all callers. + (propagate_controlled_uses): Also remove references to VAR_DECLs. + +2021-07-27 Jakub Jelinek + + PR middle-end/101586 + * gimple-fold.c (clear_padding_type): Ignore FIELD_DECLs with byte + positions above or equal to sz except for diagnostics of flexible + array members. + 2021-07-26 Andrew MacLeod PR tree-optimization/78888 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 781a3b12ece..10746464112 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210727 +20210728 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ce5d70dd453..10a8bf44edf 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2021-07-27 Martin Sebor + + PR c/101585 + * c-warn.c (warn_parm_ptrarray_mismatch): Use OEP_DECL_NAME. + 2021-07-23 Jakub Jelinek * c-lex.c (c_common_has_attribute): Call canonicalize_attr_name also diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6f8c4f0e66d..217a1ac5639 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2021-07-27 Marek Polacek + + DR 1512 + PR c++/99701 + * cp-gimplify.c (cp_fold): Remove {LE,LT,GE,GT_EXPR} from + a switch. + * typeck.c (cp_build_binary_op): Reject ordered comparison + of two null pointers. + 2021-07-26 Jakub Jelinek * parser.h (struct cp_lexer): Add orphan_p member. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 88f5812a79e..a9f18a0ad4d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2021-07-27 Martin Sebor + + PR tree-optimization/101584 + * gcc.dg/uninit-38.c: Remove assertions. + * gcc.dg/uninit-41.c: New test. + +2021-07-27 Jonathan Wakely + + PR testsuite/101646 + * g++.dg/coroutines/pr99047.C: + * g++.dg/pr71655.C: + +2021-07-27 Martin Sebor + + PR c/101585 + * gcc.dg/Wvla-parameter-13.c: New test. + +2021-07-27 Jeff Law + + * g++.dg/gcov/gcov-threads-1.C: Fix argument to pthread_join. + +2021-07-27 Marek Polacek + + DR 1512 + PR c++/99701 + * g++.dg/cpp0x/nullptr11.C: Remove invalid tests. + * g++.dg/cpp0x/nullptr46.C: Add dg-error. + * g++.dg/cpp2a/spaceship-err7.C: New test. + * g++.dg/expr/ptr-comp4.C: New test. + +2021-07-27 Richard Biener + + PR tree-optimization/101573 + * gcc.dg/uninit-pr101573.c: New testcase. + * gcc.dg/uninit-15-O0.c: Adjust. + * gcc.dg/uninit-15.c: Likewise. + * gcc.dg/uninit-23.c: Likewise. + * c-c++-common/uninit-17.c: Likewise. + +2021-07-27 Martin Jambor + + * gcc.dg/ipa/remref-3.c: New test. + * gcc.dg/ipa/remref-4.c: Likewise. + * gcc.dg/ipa/remref-5.c: Likewise. + * gcc.dg/ipa/remref-6.c: Likewise. + +2021-07-27 Jakub Jelinek + + PR middle-end/101586 + * g++.dg/torture/builtin-clear-padding-4.C: New test. + +2021-07-27 Michael Meissner + + PR testsuite/100170 + * gcc.target/powerpc/ppc-eq0-1.c: Adjust insn counts if power10 + code is generated. + * gcc.target/powerpc/ppc-ne0-1.c: (ne0): Adjust insn counts if + power10 code is generated. + (plus_ne0): Move to ppc-ne0-2.c. + (cmp_plus_ne): Likewise. + (plus_ne0_cmp): Likewise. + * gcc.target/powerpc/ppc-ne0-2.c: New file. + 2021-07-26 David Malcolm * gcc.dg/analyzer/sock-1.c: New test. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 59fa36c0f9b..e4e1563d735 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,79 @@ +2021-07-27 Ulrich Drepper + + * env.c (wait_policy, stacksize): New static variables, + move out of handle_omp_display_env. + (omp_display_env): New function. The meat of the old + handle_omp_display_env function. + (handle_omp_display_env): Change to not take parameters + and instead use the global variables. Only perform + parsing, defer to omp_display_env for the implementation. + (initialize_env): Remove local variables wait_policy and + stacksize. Don't pass parameters to handle_omp_display_env. + * fortran.c: Add ialias_redirect for omp_display_env. + (omp_display_env_, omp_display_env_8_): New functions. + * libgomp.map (OMP_5.1): New version. Add omp_display_env, + omp_display_env_, and omp_display_env_8_. + * omp.h.in: Declare omp_display_env. + * omp_lib.f90.in: Likewise. + * omp_lib.h.in: Likewise. + +2021-07-27 Thomas Schwinge + Julian Brown + + * target.c (gomp_coalesce_buf_add): Update comment. + (gomp_copy_host2dev, gomp_map_vars_internal): Don't expect to see + 'aq && cbuf'. + (gomp_map_vars_internal): Only 'if (!aq)', do + 'gomp_coalesce_buf_add'. + * testsuite/libgomp.oacc-c-c++-common/async-data-1-2.c: Remove + XFAIL. + +2021-07-27 Julian Brown + Thomas Schwinge + + * libgomp.h (gomp_copy_host2dev): Update prototype. + * oacc-mem.c (memcpy_tofrom_device, update_dev_host): Add new + argument to gomp_copy_host2dev (false). + * plugin/plugin-gcn.c (struct copy_data): Remove free_src field. + (copy_data): Don't free src. + (queue_push_copy): Remove free_src handling. + (GOMP_OFFLOAD_dev2dev): Update call to queue_push_copy. + (GOMP_OFFLOAD_openacc_async_host2dev): Remove source-data + snapshotting. + (GOMP_OFFLOAD_openacc_async_dev2host): Update call to + queue_push_copy. + * target.c (goacc_device_copy_async): Add SRCADDR_ORIG parameter. + (gomp_copy_host2dev): Add EPHEMERAL parameter. Snapshot source + data when true, and set up deferred freeing of temporary buffer. + (gomp_copy_dev2host): Update call to goacc_device_copy_async. + (gomp_map_vars_existing, gomp_map_pointer, gomp_attach_pointer) + (gomp_detach_pointer, gomp_map_vars_internal, gomp_update): Update + calls to gomp_copy_host2dev with appropriate ephemeral argument. + * testsuite/libgomp.oacc-c-c++-common/async-data-1-1.c: Remove + XFAIL. + +2021-07-27 Thomas Schwinge + Tom de Vries + + * testsuite/libgomp.oacc-c-c++-common/async-data-1-1.c: New file. + * testsuite/libgomp.oacc-c-c++-common/async-data-1-2.c: Likewise. + +2021-07-27 Thomas Schwinge + + * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Clarify + sequencing of 'async' data copying vs. profiling events. + * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: + Likewise. + +2021-07-27 Thomas Schwinge + Julian Brown + + * testsuite/libgomp.oacc-c-c++-common/lib-94.c: Fix OpenACC + 'async'/'wait' issue. + * testsuite/libgomp.oacc-c-c++-common/lib-95.c: Likewise. + * testsuite/libgomp.oacc-fortran/lib-16-2.f90: Likewise. + * testsuite/libgomp.oacc-fortran/lib-16.f90: Likewise. + 2021-07-21 Thomas Schwinge Joseph Myers Cesar Philippidis diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 01ca9394e87..26486e1d0d3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,106 @@ +2021-07-27 Jonathan Wakely + + * include/experimental/optional (__throw_bad_optional_access): + Replace GNU attribute with C++11 attribute. + (optional::value, optional::value_or): Use if statements + instead of conditional expressions. + * include/std/optional (__throw_bad_optional_access) + (optional::value, optional::value_or): Likewise. + +2021-07-27 Marek Polacek + + DR 1512 + PR c++/99701 + * testsuite/20_util/tuple/comparison_operators/overloaded.cc: + Move a line... + * testsuite/20_util/tuple/comparison_operators/overloaded2.cc: + ...here. New test. + +2021-07-27 Jonathan Wakely + + * include/bits/cow_string.h: Consistently use tab for + indentation. + +2021-07-27 Jonathan Wakely + + * include/Makefile.am: Add new header. + * include/Makefile.in: Regenerate. + * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI] + (basic_string): Move definition of Copy-on-Write string to + new file. + * include/bits/basic_string.tcc: Likewise. + * include/bits/cow_string.h: New file. + +2021-07-27 Jonathan Wakely + + * include/std/algorithm: Do not include . + * include/std/functional: Likewise. + * include/std/regex: Include instead of + . + * include/debug/map.h: Likewise. + * include/debug/multimap.h: Likewise. + * include/debug/multiset.h: Likewise. + * include/debug/set.h: Likewise. + * include/debug/vector: Likewise. + * include/bits/fs_path.h: Likewise. + * include/bits/unique_ptr.h: Do not include . + * include/experimental/any: Likewise. + * include/experimental/executor: Likewise. + * include/experimental/memory: Likewise. + * include/experimental/optional: Likewise. + * include/experimental/socket: Use __exchange instead + of std::exchange. + * src/filesystem/ops-common.h: Likewise. + * testsuite/20_util/default_delete/48631_neg.cc: Adjust expected + errors to not use a hardcoded line number. + * testsuite/20_util/default_delete/void_neg.cc: Likewise. + * testsuite/20_util/specialized_algorithms/uninitialized_copy/constrained.cc: + Include for std::as_const. + * testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constrained.cc: + Likewise. + * testsuite/20_util/specialized_algorithms/uninitialized_move/constrained.cc: + Likewise. + * testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constrained.cc: + Likewise. + * testsuite/23_containers/vector/cons/destructible_debug_neg.cc: + Adjust dg-error line number. + +2021-07-27 Jonathan Wakely + + * include/Makefile.am: Add bits/utility.h header. + * include/Makefile.in: Regenerate. + * include/bits/utility.h: New file. + * include/std/utility (tuple_size, tuple_element): Move + to new header. + * include/std/type_traits (__is_tuple_like_impl>): + Move to . + (_Index_tuple, _Build_index_tuple, integer_sequence): Likewise. + (in_place_t, in_place_index_t, in_place_type_t): Likewise. + * include/bits/ranges_util.h: Include new header instead of + . + * include/bits/stl_pair.h (tuple_size, tuple_element): Move + partial specializations for std::pair here. + (get): Move overloads for std::pair here. + * include/std/any: Include new header instead of . + * include/std/array: Likewise. + * include/std/memory_resource: Likewise. + * include/std/optional: Likewise. + * include/std/variant: Likewise. + * include/std/tuple: Likewise. + (__is_tuple_like_impl>): Move here. + (get) Declare overloads for std::array. + * include/std/version (__cpp_lib_tuples_by_type): Change type + to long. + * testsuite/20_util/optional/84601.cc: Include . + * testsuite/20_util/specialized_algorithms/uninitialized_fill/constrained.cc: + Likewise. + * testsuite/23_containers/array/tuple_interface/get_neg.cc: + Adjust dg-error line numbers. + * testsuite/std/ranges/access/cbegin.cc: Include . + * testsuite/std/ranges/access/cend.cc: Likewise. + * testsuite/std/ranges/access/end.cc: Likewise. + * testsuite/std/ranges/single_view.cc: Likewise. + 2021-07-23 Jonathan Wakely * include/std/future: Include instead of -- 2.11.4.GIT