From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 55B41385840C; Sat, 19 Mar 2022 00:17:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55B41385840C 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 r12-7719] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: faacafd2306ad7ece721a79dedbb6e44e0d65bdb X-Git-Newrev: 8ca61ad148ffedaae1914741c78dfd13962aab92 Message-Id: <20220319001709.55B41385840C@sourceware.org> Date: Sat, 19 Mar 2022 00:17:09 +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: Sat, 19 Mar 2022 00:17:09 -0000 https://gcc.gnu.org/g:8ca61ad148ffedaae1914741c78dfd13962aab92 commit r12-7719-g8ca61ad148ffedaae1914741c78dfd13962aab92 Author: GCC Administrator Date: Sat Mar 19 00:16:22 2022 +0000 Daily bump. Diff: --- c++tools/ChangeLog | 4 +++ gcc/ChangeLog | 47 ++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/cp/ChangeLog | 36 ++++++++++++++++++++ gcc/fortran/ChangeLog | 12 +++++++ gcc/testsuite/ChangeLog | 81 ++++++++++++++++++++++++++++++++++++++++++++ libcody/ChangeLog | 5 +++ libgomp/ChangeLog | 16 +++++++++ libstdc++-v3/ChangeLog | 77 ++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 368 insertions(+), 1 deletion(-) diff --git a/c++tools/ChangeLog b/c++tools/ChangeLog index 1255136b2be..18338cd4977 100644 --- a/c++tools/ChangeLog +++ b/c++tools/ChangeLog @@ -1,3 +1,7 @@ +2022-03-18 Iain Sandoe + + * server.cc (accept_from): Use "1" as the dummy port number. + 2021-10-26 Jonathan Wakely * resolver.cc (module_resolver::read_tuple_file): Use unique_ptr diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3387ad9396..400943946cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,50 @@ +2022-03-18 Vladimir N. Makarov + + PR rtl-optimization/104961 + * lra-assigns.cc (find_reload_regno_insns): Process reload pseudo clobber. + +2022-03-18 Jason Merrill + + * tree.h (IDENTIFIER_LENGTH): Add comment. + +2022-03-18 Jakub Jelinek + + PR middle-end/99578 + PR middle-end/100680 + PR tree-optimization/100834 + * params.opt (--param=min-pagesize=): New parameter. + * pointer-query.cc + (compute_objsize_r) : Formatting fix. + (compute_objsize_r) : Use maximum object size instead + of zero for pointer constants equal or larger than min-pagesize. + +2022-03-18 Tom de Vries + + * gimplify.cc (gimplify_omp_for): Set location using 'input_location'. + Set gfor location only when dealing with a OMP_TASKLOOP. + +2022-03-18 Tom de Vries + + * gimplify.cc (gimplify_omp_for): Set taskloop location. + +2022-03-18 Tom de Vries + + PR target/104952 + * omp-low.cc (lower_rec_input_clauses): Make sure GOMP_SIMT_XCHG_BFLY + is executed unconditionally. + +2022-03-18 liuhongt + + PR target/104974 + * config/i386/i386.md (*movhi_internal): Set attr type from HI + to HF for alternative 12 under TARGET_AVX512FP16. + +2022-03-18 Cui,Lili + + PR target/104963 + * config/i386/i386.h (PTA_SAPPHIRERAPIDS): change it to base on ICX. + * doc/invoke.texi: Update documents for Intel sapphirerapids. + 2022-03-17 Roger Sayle PR target/86722 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6a816b766ec..b3f465bb5e7 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220318 +20220319 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 9f6b243b799..4630bcf84b6 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,92 @@ +2022-03-18 David Malcolm + + PR analyzer/104943 + PR analyzer/104954 + PR analyzer/103533 + * analyzer.h (class state_purge_per_decl): New forward decl. + * engine.cc (impl_run_checkers): Pass region_model_manager to + state_purge_map ctor. + * program-point.cc (function_point::final_stmt_p): New. + (function_point::get_next): New. + * program-point.h (function_point::final_stmt_p): New decl. + (function_point::get_next): New decl. + * program-state.cc (program_state::prune_for_point): Generalize to + purge local decls as well as SSA names. + (program_state::can_purge_base_region_p): New. + * program-state.h (program_state::can_purge_base_region_p): New + decl. + * region-model.cc (struct append_ssa_names_cb_data): Rename to... + (struct append_regions_cb_data): ...this. + (region_model::get_ssa_name_regions_for_current_frame): Rename + to... + (region_model::get_regions_for_current_frame): ...this, updating + for other renamings. + (region_model::append_ssa_names_cb): Rename to... + (region_model::append_regions_cb): ...this, and drop the requirement + that the subregion be a SSA name. + * region-model.h (struct append_ssa_names_cb_data): Rename decl + to... + (struct append_regions_cb_data): ...this. + (region_model::get_ssa_name_regions_for_current_frame): Rename + decl to... + (region_model::get_regions_for_current_frame): ...this. + (region_model::append_ssa_names_cb): Rename decl to... + (region_model::append_regions_cb): ...this. + * state-purge.cc: Include "tristate.h", "selftest.h", + "analyzer/store.h", "analyzer/region-model.h", and + "gimple-walk.h". + (get_candidate_for_purging): New. + (class gimple_op_visitor): New. + (my_load_cb): New. + (my_store_cb): New. + (my_addr_cb): New. + (state_purge_map::state_purge_map): Add "mgr" param. Update for + renamings. Find uses of local variables. + (state_purge_map::~state_purge_map): Update for renaming of m_map + to m_ssa_map. Clean up m_decl_map. + (state_purge_map::get_or_create_data_for_decl): New. + (state_purge_per_ssa_name::state_purge_per_ssa_name): Update for + inheriting from state_purge_per_tree. + (state_purge_per_ssa_name::add_to_worklist): Likewise. + (state_purge_per_decl::state_purge_per_decl): New. + (state_purge_per_decl::add_needed_at): New. + (state_purge_per_decl::add_pointed_to_at): New. + (state_purge_per_decl::process_worklists): New. + (state_purge_per_decl::add_to_worklist): New. + (same_binding_p): New. + (fully_overwrites_p): New. + (state_purge_per_decl::process_point_backwards): New. + (state_purge_per_decl::process_point_forwards): New. + (state_purge_per_decl::needed_at_point_p): New. + (state_purge_annotator::print_needed): Generalize to print local + decls as well as SSA names. + * state-purge.h (class state_purge_map): Update leading comment. + (state_purge_map::map_t): Rename to... + (state_purge_map::ssa_map_t): ...this. + (state_purge_map::iterator): Rename to... + (state_purge_map::ssa_iterator): ...this. + (state_purge_map::decl_map_t): New typedef. + (state_purge_map::decl_iterator): New typedef. + (state_purge_map::state_purge_map): Add "mgr" param. + (state_purge_map::get_data_for_ssa_name): Update for renaming. + (state_purge_map::get_any_data_for_decl): New. + (state_purge_map::get_or_create_data_for_decl): New decl. + (state_purge_map::begin): Rename to... + (state_purge_map::begin_ssas): ...this. + (state_purge_map::end): Rename to... + (state_purge_map::end_ssa): ...this. + (state_purge_map::begin_decls): New. + (state_purge_map::end_decls): New. + (state_purge_map::m_map): Rename to... + (state_purge_map::m_ssa_map): ...this. + (state_purge_map::m_decl_map): New field. + (class state_purge_per_tree): New class. + (class state_purge_per_ssa_name): Inherit from state_purge_per_tree. + (state_purge_per_ssa_name::get_function): Move to base class. + (state_purge_per_ssa_name::point_set_t): Likewise. + (state_purge_per_ssa_name::m_fun): Likewise. + (class state_purge_per_decl): New. + 2022-03-17 David Malcolm * state-purge.cc (state_purge_annotator::add_node_annotations): diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b6318e48a40..dea2eb78518 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,39 @@ +2022-03-18 Jason Merrill + + PR c++/92918 + PR c++/104476 + * class.cc (add_method): Avoid adding the same used function twice. + (handle_using_decl): Don't add_method. + (finish_struct): Don't using op= if we have one already. + (maybe_push_used_methods): New. + * semantics.cc (finish_member_declaration): Call it. + * name-lookup.cc (diagnose_name_conflict): No longer static. + (push_class_level_binding): Revert 92918 patch, limit + to dependent using. + * cp-tree.h: Adjust. + +2022-03-18 Jakub Jelinek + + PR c++/104568 + * init.cc (build_new_constexpr_heap_type): Remove FULL_SIZE + argument and its handling, instead add ITYPE2 argument. Only + support COOKIE_SIZE != NULL. + (build_new_1): If size is 0, change it to 0 * outer_nelts if + outer_nelts is non-NULL. Pass type rather than elt_type to + maybe_wrap_new_for_constexpr. + * constexpr.cc (build_new_constexpr_heap_type): New function. + (cxx_eval_constant_expression) : + If elt_size is zero sized type, try to recover outer_nelts from + the size argument to operator new/new[] and pass that as + arg_size to build_new_constexpr_heap_type. Pass ctx, + non_constant_p and overflow_p to that call too. + +2022-03-18 Marek Polacek + + PR c++/104008 + * tree.cc (strip_typedefs): Don't strip an alias template when + doing so would result in losing a parameter pack. + 2022-03-16 Patrick Palka * search.cc (lookup_member): Simplify by handling all values diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index bd5a8e601ae..782589f4ef1 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2022-03-18 Tobias Burnus + + PR fortran/103039 + * trans-openmp.cc (gfc_omp_clause_copy_ctor, gfc_omp_clause_dtor): + Only privatize pointer for associate names. + +2022-03-18 Tobias Burnus + + PR fortran/103039 + * openmp.cc (resolve_omp_clauses): Improve associate-name diagnostic + for select type/rank. + 2022-03-11 Tobias Burnus * trans-openmp.cc (gfc_trans_omp_clauses, gfc_omp_finish_clause): diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ee5f7bd11ea..71b55500b7e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,84 @@ +2022-03-18 David Malcolm + + PR analyzer/104943 + PR analyzer/104954 + PR analyzer/103533 + * gcc.dg/analyzer/torture/boxed-ptr-1.c: Update expected number + of exploded nodes to reflect improvements in state purging. + +2022-03-18 David Malcolm + + PR analyzer/104943 + * gcc.dg/analyzer/boxed-malloc-1-29.c: New test. + * gcc.dg/analyzer/boxed-malloc-1.c: New test. + * gcc.dg/analyzer/taint-alloc-5.c: New test. + * gcc.dg/analyzer/torture/boxed-int-1.c: New test. + * gcc.dg/analyzer/torture/boxed-ptr-1.c: New test. + +2022-03-18 Vladimir N. Makarov + + PR rtl-optimization/104961 + * gcc.target/i386/pr104961.c: New. + +2022-03-18 Jason Merrill + + PR c++/92918 + PR c++/104476 + * g++.dg/cpp0x/pr85070.C: Remove expected error. + * g++.dg/lookup/using66a.C: New test. + * g++.dg/lookup/using67.C: New test. + +2022-03-18 Jakub Jelinek + + PR middle-end/99578 + PR middle-end/100680 + PR tree-optimization/100834 + * gcc.dg/tree-ssa/pr99578-1.c: New test. + * gcc.dg/pr99578-1.c: New test. + * gcc.dg/pr99578-2.c: New test. + * gcc.dg/pr99578-3.c: New test. + * gcc.dg/pr100680.c: New test. + * gcc.dg/pr100834.c: New test. + +2022-03-18 Jakub Jelinek + + PR c++/104568 + * g++.dg/cpp2a/constexpr-new22.C: New test. + +2022-03-18 Jonathan Wakely + + * g++.dg/torture/pr104601.C: Include . + +2022-03-18 Marek Polacek + + PR c++/104008 + * g++.dg/cpp0x/variadic-alias3.C: New test. + * g++.dg/cpp0x/variadic-alias4.C: New test. + +2022-03-18 Iain Sandoe + + * g++.dg/modules/bad-mapper-1.C: Make dg- expressions that match the + diagnostics output by earlier Darwin too. + +2022-03-18 Tom de Vries + + * c-c++-common/gomp/pr104968.c: New test. + +2022-03-18 Tobias Burnus + + PR fortran/103039 + * gfortran.dg/gomp/associate1.f90: Update dg-error. + * gfortran.dg/gomp/associate2.f90: New test. + +2022-03-18 liuhongt + + * gcc.target/i386/pr104974.c: New test. + +2022-03-18 Cui,Lili + + PR target/104963 + * gcc.target/i386/pr104963.c: New test case. + 2022-03-17 Roger Sayle PR target/86722 diff --git a/libcody/ChangeLog b/libcody/ChangeLog index dd05cc248d4..4688eedba4c 100644 --- a/libcody/ChangeLog +++ b/libcody/ChangeLog @@ -1,3 +1,8 @@ +2022-03-18 Iain Sandoe + + * netclient.cc (OpenInet6): Do not provide a dummy port number + in the getaddrinfo() call. + 2021-11-01 Martin Liska PR other/102657 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 550210343f5..fed9b55ee30 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,19 @@ +2022-03-18 Tobias Burnus + + PR fortran/103039 + * testsuite/libgomp.fortran/associate4.f90: New test. + +2022-03-18 Tom de Vries + + PR target/104952 + * testsuite/libgomp.c/pr104952-1.c: New test. + * testsuite/libgomp.c/pr104952-2.c: New test. + +2022-03-18 Jakub Jelinek + + * config/linux/affinity.c (gomp_affinity_init_numa_domains): Move seen + variable next to pl variable. + 2022-03-17 Thomas Schwinge * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a768a2e3dc2..8628a80f77b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,80 @@ +2022-03-18 Jonathan Wakely + + PR libstdc++/104242 + * include/std/any (any(T&&)): Revert change to constraints. + * testsuite/20_util/any/cons/104242.cc: New test. + +2022-03-18 Jonathan Wakely + + PR libstdc++/92546 + * include/pstl/glue_algorithm_defs.h: Replace with + . + * include/pstl/utils.h: Replace with . + (__pstl::__internal::__except_handler): Use std::__terminate + instead of std::terminate. + * src/c++17/fs_path.cc: Include . + * testsuite/25_algorithms/adjacent_find/constexpr.cc: Include + . + * testsuite/25_algorithms/binary_search/constexpr.cc: Likewise. + * testsuite/25_algorithms/clamp/constrained.cc: Likewise. + * testsuite/25_algorithms/equal/constrained.cc: Likewise. + * testsuite/25_algorithms/for_each/constrained.cc: Likewise. + * testsuite/25_algorithms/includes/constrained.cc: Likewise. + * testsuite/25_algorithms/is_heap/constexpr.cc: Likewise. + * testsuite/25_algorithms/is_heap_until/constexpr.cc: Likewise. + * testsuite/25_algorithms/is_permutation/constrained.cc: Include + . + * testsuite/25_algorithms/is_sorted/constexpr.cc: Include + . + * testsuite/25_algorithms/is_sorted_until/constexpr.cc: + Likewise. + * testsuite/25_algorithms/lexicographical_compare/constexpr.cc: + Likewise. + * testsuite/25_algorithms/lexicographical_compare/constrained.cc: + Likewise. + * testsuite/25_algorithms/lexicographical_compare_three_way/1.cc: + Include . + * testsuite/25_algorithms/lower_bound/constexpr.cc: Include + . + * testsuite/25_algorithms/max/constrained.cc: Likewise. + * testsuite/25_algorithms/max_element/constrained.cc: Likewise. + * testsuite/25_algorithms/min/constrained.cc: Likewise. + * testsuite/25_algorithms/min_element/constrained.cc: Likewise. + * testsuite/25_algorithms/minmax_element/constrained.cc: + Likewise. + * testsuite/25_algorithms/mismatch/constexpr.cc: Likewise. + * testsuite/25_algorithms/move/93872.cc: Likewise. + * testsuite/25_algorithms/move_backward/93872.cc: Include + . + * testsuite/25_algorithms/nth_element/constexpr.cc: Include + . + * testsuite/25_algorithms/partial_sort/constexpr.cc: Likewise. + * testsuite/25_algorithms/partial_sort_copy/constexpr.cc: + Likewise. + * testsuite/25_algorithms/search/constexpr.cc: Likewise. + * testsuite/25_algorithms/search_n/constrained.cc: Likewise. + * testsuite/25_algorithms/set_difference/constexpr.cc: Likewise. + * testsuite/25_algorithms/set_difference/constrained.cc: + Likewise. + * testsuite/25_algorithms/set_intersection/constexpr.cc: + Likewise. + * testsuite/25_algorithms/set_intersection/constrained.cc: + Likewise. + * testsuite/25_algorithms/set_symmetric_difference/constexpr.cc: + Likewise. + * testsuite/25_algorithms/set_union/constexpr.cc: Likewise. + * testsuite/25_algorithms/set_union/constrained.cc: Likewise. + * testsuite/25_algorithms/sort/constexpr.cc: Likewise. + * testsuite/25_algorithms/sort_heap/constexpr.cc: Likewise. + * testsuite/25_algorithms/transform/constrained.cc: Likewise. + * testsuite/25_algorithms/unique/constexpr.cc: Likewise. + * testsuite/25_algorithms/unique/constrained.cc: Likewise. + * testsuite/25_algorithms/unique_copy/constexpr.cc: Likewise. + * testsuite/25_algorithms/upper_bound/constexpr.cc: Likewise. + * testsuite/std/ranges/adaptors/elements.cc: Include . + * testsuite/std/ranges/adaptors/lazy_split.cc: Likewise. + * testsuite/std/ranges/adaptors/split.cc: Likewise. + 2022-03-17 Jonathan Wakely PR libstdc++/92546