aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c++tools/ChangeLog4
-rw-r--r--gcc/ChangeLog47
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog89
-rw-r--r--gcc/cp/ChangeLog36
-rw-r--r--gcc/fortran/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog81
-rw-r--r--libcody/ChangeLog5
-rw-r--r--libgomp/ChangeLog16
-rw-r--r--libstdc++-v3/ChangeLog77
10 files changed, 368 insertions, 1 deletions
diff --git a/c++tools/ChangeLog b/c++tools/ChangeLog
index 1255136..18338cd4 100644
--- a/c++tools/ChangeLog
+++ b/c++tools/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ * server.cc (accept_from): Use "1" as the dummy port number.
+
2021-10-26 Jonathan Wakely <jwakely@redhat.com>
* resolver.cc (module_resolver::read_tuple_file): Use unique_ptr
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b3387ad..4009439 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,50 @@
+2022-03-18 Vladimir N. Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/104961
+ * lra-assigns.cc (find_reload_regno_insns): Process reload pseudo clobber.
+
+2022-03-18 Jason Merrill <jason@redhat.com>
+
+ * tree.h (IDENTIFIER_LENGTH): Add comment.
+
+2022-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ 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) <case ARRAY_REF>: Formatting fix.
+ (compute_objsize_r) <case INTEGER_CST>: Use maximum object size instead
+ of zero for pointer constants equal or larger than min-pagesize.
+
+2022-03-18 Tom de Vries <tdevries@suse.de>
+
+ * 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 <tdevries@suse.de>
+
+ * gimplify.cc (gimplify_omp_for): Set taskloop location.
+
+2022-03-18 Tom de Vries <tdevries@suse.de>
+
+ PR target/104952
+ * omp-low.cc (lower_rec_input_clauses): Make sure GOMP_SIMT_XCHG_BFLY
+ is executed unconditionally.
+
+2022-03-18 liuhongt <hongtao.liu@intel.com>
+
+ 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 <lili.cui@intel.com>
+
+ 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 <roger@nextmovesoftware.com>
PR target/86722
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 6a816b7..b3f465bb 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220318
+20220319
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 9f6b243..4630bcf 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,92 @@
+2022-03-18 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
* state-purge.cc (state_purge_annotator::add_node_annotations):
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b6318e4..dea2eb7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,39 @@
+2022-03-18 Jason Merrill <jason@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ 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) <case CONVERT_EXPR>:
+ 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 <polacek@redhat.com>
+
+ 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 <ppalka@redhat.com>
* search.cc (lookup_member): Simplify by handling all values
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index bd5a8e6..782589f 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,15 @@
+2022-03-18 Tobias Burnus <tobias@codesourcery.com>
+
+ 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 <tobias@codesourcery.com>
+
+ PR fortran/103039
+ * openmp.cc (resolve_omp_clauses): Improve associate-name diagnostic
+ for select type/rank.
+
2022-03-11 Tobias Burnus <tobias@codesourcery.com>
* trans-openmp.cc (gfc_trans_omp_clauses, gfc_omp_finish_clause):
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ee5f7bd..71b5550 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,84 @@
+2022-03-18 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
+
+ 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 <vmakarov@redhat.com>
+
+ PR rtl-optimization/104961
+ * gcc.target/i386/pr104961.c: New.
+
+2022-03-18 Jason Merrill <jason@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ PR c++/104568
+ * g++.dg/cpp2a/constexpr-new22.C: New test.
+
+2022-03-18 Jonathan Wakely <jwakely@redhat.com>
+
+ * g++.dg/torture/pr104601.C: Include <vector>.
+
+2022-03-18 Marek Polacek <polacek@redhat.com>
+
+ PR c++/104008
+ * g++.dg/cpp0x/variadic-alias3.C: New test.
+ * g++.dg/cpp0x/variadic-alias4.C: New test.
+
+2022-03-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ * 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 <tdevries@suse.de>
+
+ * c-c++-common/gomp/pr104968.c: New test.
+
+2022-03-18 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/103039
+ * gfortran.dg/gomp/associate1.f90: Update dg-error.
+ * gfortran.dg/gomp/associate2.f90: New test.
+
+2022-03-18 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr104974.c: New test.
+
+2022-03-18 Cui,Lili <lili.cui@intel.com>
+
+ PR target/104963
+ * gcc.target/i386/pr104963.c: New test case.
+
2022-03-17 Roger Sayle <roger@nextmovesoftware.com>
PR target/86722
diff --git a/libcody/ChangeLog b/libcody/ChangeLog
index dd05cc2..4688eed 100644
--- a/libcody/ChangeLog
+++ b/libcody/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ * netclient.cc (OpenInet6): Do not provide a dummy port number
+ in the getaddrinfo() call.
+
2021-11-01 Martin Liska <mliska@suse.cz>
PR other/102657
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 5502103..fed9b55 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,19 @@
+2022-03-18 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/103039
+ * testsuite/libgomp.fortran/associate4.f90: New test.
+
+2022-03-18 Tom de Vries <tdevries@suse.de>
+
+ PR target/104952
+ * testsuite/libgomp.c/pr104952-1.c: New test.
+ * testsuite/libgomp.c/pr104952-2.c: New test.
+
+2022-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * config/linux/affinity.c (gomp_affinity_init_numa_domains): Move seen
+ variable next to pl variable.
+
2022-03-17 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a768a2e..8628a80 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,80 @@
+2022-03-18 Jonathan Wakely <jwakely@redhat.com>
+
+ 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 <jwakely@redhat.com>
+
+ PR libstdc++/92546
+ * include/pstl/glue_algorithm_defs.h: Replace <functional> with
+ <bits/stl_pair.h>.
+ * include/pstl/utils.h: Replace <iterator> with <type_traits>.
+ (__pstl::__internal::__except_handler): Use std::__terminate
+ instead of std::terminate.
+ * src/c++17/fs_path.cc: Include <array>.
+ * testsuite/25_algorithms/adjacent_find/constexpr.cc: Include
+ <functional>.
+ * 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
+ <iterator>.
+ * testsuite/25_algorithms/is_sorted/constexpr.cc: Include
+ <functional>.
+ * 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 <array>.
+ * testsuite/25_algorithms/lower_bound/constexpr.cc: Include
+ <functional>.
+ * 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
+ <iterator>.
+ * testsuite/25_algorithms/nth_element/constexpr.cc: Include
+ <functional>.
+ * 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 <vector>.
+ * testsuite/std/ranges/adaptors/lazy_split.cc: Likewise.
+ * testsuite/std/ranges/adaptors/split.cc: Likewise.
+
2022-03-17 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/92546