aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-19 00:16:22 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-19 00:16:22 +0000
commit8ca61ad148ffedaae1914741c78dfd13962aab92 (patch)
treef415edddc67812f0bdf932b6956f05015fbb6288 /gcc
parentfaacafd2306ad7ece721a79dedbb6e44e0d65bdb (diff)
downloadgcc-8ca61ad148ffedaae1914741c78dfd13962aab92.zip
gcc-8ca61ad148ffedaae1914741c78dfd13962aab92.tar.gz
gcc-8ca61ad148ffedaae1914741c78dfd13962aab92.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-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
6 files changed, 266 insertions, 1 deletions
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