summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-05-18 00:16:36 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-05-18 00:16:36 +0000
commit3d9439b1bb76c186958d5b86f0076f8b3017b8a2 (patch)
treeed6dcb72ef37a0b0a80c4ebfe2c927e4d7b773cb
parent1bfb823e2a7346ef55bd53a5354770599f7a550b (diff)
downloadgcc-3d9439b1bb76c186958d5b86f0076f8b3017b8a2.tar.gz
Daily bump.
-rw-r--r--gcc/ChangeLog163
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog226
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c/ChangeLog11
-rw-r--r--gcc/cp/ChangeLog14
-rw-r--r--gcc/fortran/ChangeLog9
-rw-r--r--gcc/testsuite/ChangeLog58
-rw-r--r--include/ChangeLog9
-rw-r--r--libgomp/ChangeLog40
-rw-r--r--libiberty/ChangeLog8
-rw-r--r--libstdc++-v3/ChangeLog53
12 files changed, 597 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db143881974..1276f533247 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,166 @@
+2022-05-17 Marek Polacek <polacek@redhat.com>
+
+ * godump.cc (go_output_typedef): Use the DECL_INITIAL of the TREE_VALUE.
+
+2022-05-17 Pat Haugen <pthaugen@linux.ibm.com>
+
+ PR target/99685
+ * config/rs6000/rs6000-call.cc (rs6000_function_arg_advance_1): Bump
+ register count when not splitting IEEE 128-bit Complex.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * omp-low.cc (check_omp_nesting_restrictions): Skip warning for
+ target inside target if inner is reverse offload.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * config/gcn/mkoffload.cc (process_obj): Revert: Use ARRAY_SIZE.
+ * config/nvptx/mkoffload.cc (process): Likewise.
+
+2022-05-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * Makefile.in (OBJS): Add gimple-range-side-effect.o.
+ * gimple-range-cache.cc (non_null_ref::non_null_ref): Delete.
+ (non_null_ref::~non_null_ref): Delete.
+ (non_null_ref::set_nonnull): Delete.
+ (non_null_ref::non_null_deref_p): Delete.
+ (non_null_ref::process_name): Delete.
+ (ranger_cache::ranger_cache): Initialize m_exit object.
+ (ranger_cache::fill_block_cache): Use m_exit object intead of nonnull.
+ (ranger_cache::range_from_dom): Use side_effect class and m_exit object.
+ (ranger_cache::update_to_nonnull): Delete.
+ (non_null_loadstore): Delete.
+ (ranger_cache::block_apply_nonnull): Delete.
+ (ranger_cache::apply_side_effects): New.
+ * gimple-range-cache.h (class non_null_ref): Delete.
+ (non_null_ref::adjust_range): Delete.
+ (class ranger_cache): Adjust prototypes, add side effect manager.
+ * gimple-range-path.cc (path_range_query::range_defined_in_block): Use
+ side effect manager for queries.
+ (path_range_query::adjust_for_non_null_uses): Ditto.
+ * gimple-range-path.h (class path_range_query): Delete non_null_ref.
+ * gimple-range-side-effect.cc: New.
+ * gimple-range-side-effect.h: New.
+ * gimple-range.cc (gimple_ranger::gimple_ranger): Update contructor.
+ (gimple_ranger::range_of_expr): Check def block for override value.
+ (gimple_ranger::range_on_entry): Don't scan dominators for non-null.
+ (gimple_ranger::range_on_edge): Check for outgoing side-effects.
+ (gimple_ranger::register_side_effects): Call apply_side_effects.
+ (enable_ranger): Update contructor.
+ * gimple-range.h (class gimple_ranger): Update prototype.
+ (enable_ranger): Update prototype.
+ * tree-vrp.cc (execute_ranger_vrp): Invoke without immediate-use flag.
+
+2022-05-17 Giuliano Belinassi <gbelinassi@suse.de>
+
+ PR c++/105169
+ * targhooks.cc (default_print_patchable_function_entry_1): Handle COMDAT case.
+ * varasm.cc (switch_to_comdat_section): New
+ (handle_vtv_comdat_section): Call switch_to_comdat_section.
+ * varasm.h: Declare switch_to_comdat_section.
+
+2022-05-17 Richard Biener <rguenther@suse.de>
+
+ * cfgloopmanip.cc (duplicate_loop_body_to_header_edge): Do
+ not clear bb->aux of the copied blocks.
+
+2022-05-17 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/105458
+ * value-relation.cc (path_oracle::register_relation): Merge, then check
+ for equivalence.
+
+2022-05-17 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/105624
+ Revert:
+ * config/i386/i386.md: Remove constraints when used with
+ const_int_operand, const0_operand, const_1_operand, constm1_operand,
+ const8_operand, const128_operand, const248_operand, const123_operand,
+ const2367_operand, const1248_operand, const359_operand,
+ const_4_or_8_to_11_operand, const48_operand, const_0_to_1_operand,
+ const_0_to_3_operand, const_0_to_4_operand, const_0_to_5_operand,
+ const_0_to_7_operand, const_0_to_15_operand, const_0_to_31_operand,
+ const_0_to_63_operand, const_0_to_127_operand, const_0_to_255_operand,
+ const_0_to_255_mul_8_operand, const_1_to_31_operand,
+ const_1_to_63_operand, const_2_to_3_operand, const_4_to_5_operand,
+ const_4_to_7_operand, const_6_to_7_operand, const_8_to_9_operand,
+ const_8_to_11_operand, const_8_to_15_operand, const_10_to_11_operand,
+ const_12_to_13_operand, const_12_to_15_operand, const_14_to_15_operand,
+ const_16_to_19_operand, const_16_to_31_operand, const_20_to_23_operand,
+ const_24_to_27_operand and const_28_to_31_operand.
+ * config/i386/mmx.md: Ditto.
+ * config/i386/sse.md: Ditto.
+ * config/i386/subst.md: Ditto.
+ * config/i386/sync.md: Ditto.
+
+2022-05-17 Thomas Schwinge <thomas@codesourcery.com>
+
+ * diagnostic.cc: Don't advise to call 'abort' instead of
+ 'internal_error'.
+ * system.h: Advise to call 'internal_error' instead of 'abort' or
+ 'fancy_abort'.
+
+2022-05-17 Frederik Harwath <frederik@codesourcery.com>
+
+ * graphite-sese-to-poly.cc (build_poly_sr_1): Fix a typo and
+ a reference to a variable which does not exist.
+ * graphite-isl-ast-to-gimple.cc (gsi_insert_earliest): Fix typo
+ in comment.
+
+2022-05-17 Frederik Harwath <frederik@codesourcery.com>
+
+ * graphite-sese-to-poly.cc (isl_id_for_ssa_name): Rename to ...
+ (isl_id_for_parameter): ... this new function name.
+ (build_scop_context): Adjust function use.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ PR target/105602
+ * config/gcn/t-omp-device (arch): Add 'amdgcn' besides existing 'gcn'.
+ * config/gcn/gcn.cc (gcn_omp_device_kind_arch_isa): Likewise.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * tree-core.h (enum omp_clause_depend_kind): Add
+ OMP_CLAUSE_DEPEND_INOUTSET.
+ * tree-pretty-print.cc (dump_omp_clause): Handle
+ OMP_CLAUSE_DEPEND_INOUTSET.
+ * gimplify.cc (gimplify_omp_depend): Likewise.
+ * omp-low.cc (lower_depend_clauses): Likewise.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/105613
+ * config/i386/sse.md (vec_cmpeqv2div2di, vec_cmpeqv1tiv1ti): Use
+ andv4si3 only for EQ, for NE use iorv4si3 instead.
+
+2022-05-17 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105618
+ * tree-ssa-sink.cc (statement_sink_location): For virtual
+ PHI uses ignore those defining the used virtual operand.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * tree-ssa-forwprop.cc (simplify_bitfield_ref): Spelling fix:
+ hanlde -> handle. Fix up comment formatting.
+
+2022-05-17 liuhongt <hongtao.liu@intel.com>
+
+ PR target/105033
+ * config/i386/sse.md (*vec_concatv4si): Extend to ..
+ (*vec_concat<mode>): .. V16QI and V8HImode.
+ (*vec_concatv16qi_permt2): New pre_reload define_insn_and_split.
+ (*vec_concatv8hi_permt2): Ditto.
+
+2022-05-17 liuhongt <hongtao.liu@intel.com>
+
+ PR tree-optimization/105591
+ * tree-ssa-forwprop.cc (simplify_bitfield_ref): Clamp
+ vec_perm_expr index.
+
2022-05-16 Jason Merrill <jason@redhat.com>
PR c/105492
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 260f74988e6..ca0d7746996 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220517
+20220518
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 67676b830fe..a0577f1ec78 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,229 @@
+2022-05-17 Piotr Trojanek <trojanek@adacore.com>
+
+ * sem_res.adb (Flag_Effectively_Volatile_Objects): Restore
+ redundant guard.
+
+2022-05-17 Gary Dismukes <dismukes@adacore.com>
+
+ * sem_ch8.adb (Analyze_Subprogram_Renaming): Add error check for
+ the case of a renamed subprogram given by an expanded name whose
+ outermost prefix names a unit that is hidden by the name of the
+ renaming.
+ (Ult_Expanded_Prefix): New local expression function to return
+ the ultimate prefix of an expanded name.
+
+2022-05-17 Ghjuvan Lacambre <lacambre@adacore.com>
+
+ * gnat_cuda.ads: Update package-level comments.
+ (Build_And_Insert_CUDA_Initialization): Remove function.
+ * gnat_cuda.adb (Build_And_Insert_CUDA_Initialization): Remove
+ function.
+ (Expand_CUDA_Package): Remove call to
+ Build_And_Insert_CUDA_Initialization.
+
+2022-05-17 Etienne Servais <servais@adacore.com>
+
+ * freeze.adb (Freeze_Enumeration_Type): Fix comment, enhance
+ message and silence warning for size > 32.
+
+2022-05-17 Yannick Moy <moy@adacore.com>
+
+ * exp_spark.adb (Expand_SPARK_Potential_Renaming): Deal with no
+ entity case.
+ * inline.ads (Check_Object_Renaming_In_GNATprove_Mode): New
+ procedure.
+ * inline.adb (Check_Object_Renaming_In_GNATprove_Mode): New
+ procedure.
+ (Can_Be_Inlined_In_GNATprove_Mode): Remove case forbidding
+ inlining for subprograms inside generics.
+ * sem_ch12.adb (Copy_Generic_Node): Preserve global entities
+ when inlining in GNATprove mode.
+ * sem_ch6.adb (Analyse_Subprogram_Body_Helper): Remove body to
+ inline if renaming is detected in GNATprove mode.
+
+2022-05-17 Gary Dismukes <dismukes@adacore.com>
+
+ * exp_ch4.adb (Expand_N_Allocator): For an allocator with an
+ unconstrained discriminated designated type, and whose
+ allocation subtype is constrained, set the
+ Actual_Designated_Subtype of the dereference passed to the init
+ proc of the designated type to be the allocation subtype.
+ * sinfo.ads: Add documentation of new setting of
+ Actual_Designated_Subtype on a dereference used as an actual
+ parameter of call to an init proc associated with an allocator.
+ Also add missing syntax and documentation for the GNAT language
+ extension that allows an expression as a default for a concrete
+ generic formal function.
+
+2022-05-17 Bob Duff <duff@adacore.com>
+
+ * sinfo.ads: Remove From_At_End. Update comments.
+ * gen_il-fields.ads, gen_il-gen-gen_nodes.adb, sem_ch11.adb:
+ Remove From_At_End.
+ * exp_ch11.adb (Expand_At_End_Handler): Remove assertion.
+ * fe.h (Exception_Mechanism, Exception_Mechanism_Type, Has_DIC,
+ Has_Invariants, Is_List_Member, List_Containing): Remove
+ declarations that are not used in gigi.
+ * opt.ads (Exception_Mechanism): This is not used in gigi.
+ * exp_util.ads: Minor comment fix.
+
+2022-05-17 Dmitriy Anisimkov <anisimko@adacore.com>
+
+ * impunit.adb: Add "g-binsea" to Non_Imp_File_Names_95 list.
+
+2022-05-17 Yannick Moy <moy@adacore.com>
+
+ * sem_ch5.adb (Analyze_Iterator_Specification): Use
+ Insert_Action when possibly inside an expression.
+
+2022-05-17 Marc Poulhiès <poulhies@adacore.com>
+
+ * libgnat/g-forstr.adb (Is_Number): Add scientific notation and
+ shortest representation.
+
+2022-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Full_Type_Declaration): Look into N.
+
+2022-05-17 Bob Duff <duff@adacore.com>
+
+ * exp_util.adb (Requires_Cleanup_Actions): Remove
+ N_Protected_Body from the case statement, so that case will be
+ covered by "raise Program_Error".
+
+2022-05-17 Bob Duff <duff@adacore.com>
+
+ * output.adb (Pop_Output, Set_Output): Unconditionally flush
+ output when switching from one output destination to another.
+ Otherwise buffering can cause garbled output.
+ (w): Push/pop the current settings, and temporarily
+ Set_Standard_Error during these procedures.
+
+2022-05-17 Dmitriy Anisimkov <anisimko@adacore.com>
+
+ * libgnat/g-binsea.ads, libgnat/g-binsea.adb
+ (GNAT.Binary_Search): New package.
+ * Makefile.rtl (GNATRTL_NONTASKING_OBJS): New item in list.
+ * doc/gnat_rm/the_gnat_library.rst (GNAT.Binary_Search): New
+ package record.
+ * gnat_rm.texi: Regenerate.
+
+2022-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_ch12.ads (Is_Abbreviated_Instance): Declare.
+ * sem_ch12.adb (Check_Abbreviated_Instance): Declare.
+ (Requires_Conformance_Checking): Declare.
+ (Analyze_Association.Process_Default): Fix subtype of parameter.
+ (Analyze_Formal_Object_Declaration): Check whether it is in the
+ visible part of abbreviated instance.
+ (Analyze_Formal_Subprogram_Declaration): Likewise.
+ (Analyze_Formal_Type_Declaration): Likewise.
+ (Analyze_Package_Instantiation): Do not check for a generic child
+ unit in the case of an abbreviated instance.
+ (Check_Abbreviated_Instance): New procedure.
+ (Check_Formal_Packages): Tidy up.
+ (Copy_Generic_Elist): Fix comment.
+ (Instantiate_Formal_Package): Tidy up. If the generic unit is a
+ child unit, copy the qualified name onto the abbreviated instance.
+ (Is_Abbreviated_Instance): New function.
+ (Collect_Previous_Instances): Call Is_Abbreviated_Instance.
+ (Requires_Conformance_Checking): New function.
+ * sem_ch7.adb (Analyze_Package_Specification): Do not install the
+ private declarations of the parent for an abbreviated instance.
+
+2022-05-17 Etienne Servais <servais@adacore.com>
+
+ * sem_ch3.adb (Analyze_Subtype_Declaration): Use underlying type
+ of Indic_Typ.
+ (Constrain_Array): Ditto for T.
+
+2022-05-17 Arnaud Charlet <charlet@adacore.com>
+
+ * sem_attr.adb (Analyze_Attribute [Attribute_Reduce]): Allow
+ 'Reduce for Ada 2022 and above.
+ * sem_attr.ads (Attribute_Impl_Def): 'Reduce is no longer
+ implementation defined.
+
+2022-05-17 Ghjuvan Lacambre <lacambre@adacore.com>
+
+ * exp_ch9.adb (Expand_N_Asynchronous_Select): Don't generate
+ Abort_Undefers when not Abort_Allowed.
+
+2022-05-17 Marc Poulhiès <poulhies@adacore.com>
+
+ * exp_ch7.adb: Fix typo.
+
+2022-05-17 Etienne Servais <servais@adacore.com>
+
+ * lib.ads: initialize `Compiler_State` to `Parsing`.
+
+2022-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_ch13.adb (Has_Compatible_Representation): Return true for
+ derived untagged record types without representation clause.
+
+2022-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_ch13.ads (Has_Compatible_Representation): Minor tweaks.
+ * sem_ch13.adb (Has_Compatible_Representation): Look directly into
+ the (implementation) base types and simplifiy accordingly.
+ * exp_ch5.adb (Change_Of_Representation): Adjust.
+ * exp_ch6.adb (Expand_Actuals): Likewise.
+
+2022-05-17 Etienne Servais <servais@adacore.com>
+
+ * sem_ch5.adb (Analyze_Assignment): Remove superfluous call to
+ Original_Node.
+
+2022-05-17 Javier Miranda <miranda@adacore.com>
+
+ * freeze.adb (Freeze_Entity): Protect the call to
+ Declaration_Node against entities of expressions replaced by the
+ frontend with an N_Raise_CE node.
+
+2022-05-17 Javier Miranda <miranda@adacore.com>
+
+ * freeze.adb (Build_DTW_Spec): Do not inherit the not-overriding
+ indicator because the DTW wrapper overrides its wrapped
+ subprogram.
+ * contracts.ads (Make_Class_Precondition_Subps): Adding
+ documentation.
+
+2022-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch13.adb (Expand_N_Freeze_Entity): Delete freeze nodes for
+ subprograms only if they have no actions.
+ * exp_ch6.adb (Freeze_Subprogram): Put the actions into the Actions
+ field of the freeze node instead of inserting them after it.
+ * sem_elab.adb (Is_SPARK_Semantic_Target): Fix typo in comment.
+ * gcc-interface/trans.cc (process_freeze_entity): Return early for
+ freeze nodes of subprograms with Interface_Alias set.
+
+2022-05-17 Javier Miranda <miranda@adacore.com>
+
+ * contracts.adb (Build_Call_Helper_Body): Improve handling of
+ the case of a (legal) non-dispatching call to an abstract
+ subprogram.
+
+2022-05-17 Piotr Trojanek <trojanek@adacore.com>
+
+ * doc/gnat_rm/implementation_defined_attributes.rst
+ (Loop_Entry): Mention pragmas Assert, Assert_And_Cut and Assume;
+ refill.
+ * gnat_rm.texi: Regenerate.
+
+2022-05-17 Etienne Servais <servais@adacore.com>
+
+ * par-ch3.adb (P_Access_Type_Definition): Outputs an error if
+ token is not "access".
+
+2022-05-17 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch2.adb (Expand_Current_Value): Remove special case for
+ references immediately within pragma argument associations.
+ * exp_prag.adb (Expand_Pragma_Inspection_Point): Remove special
+ case for privals.
+
2022-05-16 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch7.adb (Inspect_Untagged_Record_Completion): Also move the
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 1f825cfde7b..a5fe2ce676a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * c-omp.cc (c_finish_omp_depobj): Handle
+ OMP_CLAUSE_DEPEND_INOUTSET.
+
2022-05-16 Jason Merrill <jason@redhat.com>
PR c/105492
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 30c385820b8..25debc1a1ad 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,14 @@
+2022-05-17 Marek Polacek <polacek@redhat.com>
+
+ * c-decl.cc (finish_enum): Store the CONST_DECL into TREE_VALUE, not
+ its value.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.cc (c_parser_omp_clause_depend): Parse
+ inoutset depend-kind.
+ (c_parser_omp_depobj): Likewise.
+
2022-05-16 Martin Liska <mliska@suse.cz>
* c-decl.cc (match_builtin_function_types): Use ARRAY_SIZE.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9b11d50458e..0bbf7e2e74c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,17 @@
+2022-05-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/102307
+ * decl.cc (check_initializer): Use build_cplus_new in case of
+ constexpr failure.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * parser.cc (cp_parser_omp_clause_depend): Parse
+ inoutset depend-kind.
+ (cp_parser_omp_depobj): Likewise.
+ * cxx-pretty-print.cc (cxx_pretty_printer::statement): Handle
+ OMP_CLAUSE_DEPEND_INOUTSET.
+
2022-05-16 Martin Liska <mliska@suse.cz>
* module.cc (depset::entity_kind_name): Use ARRAY_SIZE.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 09c741e0b65..13d3fb0a9f7 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,12 @@
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * dump-parse-tree.cc (show_omp_namelist): Handle omp_all_memory.
+ * openmp.cc (gfc_match_omp_variable_list, gfc_match_omp_depend_sink,
+ gfc_match_omp_clauses, resolve_omp_clauses): Likewise.
+ * trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj):
+ Likewise.
+ * resolve.cc (resolve_symbol): Reject it as symbol.
+
2022-05-16 Martin Liska <mliska@suse.cz>
* frontend-passes.cc (gfc_code_walker): Use ARRAY_SIZE.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3d963eb02db..41d5346092e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,61 @@
+2022-05-17 Jason Merrill <jason@redhat.com>
+
+ PR c++/102307
+ * g++.dg/cpp1z/constexpr-array2.C: New test.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * c-c++-common/gomp/target-device-ancestor-5.c: New test.
+
+2022-05-17 Giuliano Belinassi <gbelinassi@suse.de>
+
+ PR c++/105169
+ * g++.dg/modules/pr105169.h: New file.
+ * g++.dg/modules/pr105169_a.C: New test.
+ * g++.dg/modules/pr105169_b.C: New file.
+
+2022-05-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/pr105458.c: New.
+
+2022-05-17 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/105624
+ * gcc.target/i386/pr105624.c: New test.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * c-c++-common/gomp/all-memory-1.c (boo): Add test with
+ inoutset depend-kind.
+ * c-c++-common/gomp/all-memory-2.c (boo): Likewise.
+ * c-c++-common/gomp/depobj-1.c (f1): Likewise.
+ (f2): Adjusted expected diagnostics.
+ * g++.dg/gomp/depobj-1.C (f4): Adjust expected diagnostics.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/105613
+ * gcc.c-torture/execute/pr105613.c: New test.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * gfortran.dg/gomp/all-memory-1.f90: New test.
+ * gfortran.dg/gomp/all-memory-2.f90: New test.
+ * gfortran.dg/gomp/all-memory-3.f90: New test.
+
+2022-05-17 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105618
+ * gcc.dg/tree-ssa/ssa-sink-19.c: New testcase.
+
+2022-05-17 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr105033.c: New test.
+
+2022-05-17 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.dg/pr105591.c: New test.
+
2022-05-16 David Malcolm <dmalcolm@redhat.com>
PR analyzer/105103
diff --git a/include/ChangeLog b/include/ChangeLog
index 57e93465e37..4e96c66dd01 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,12 @@
+2022-05-17 Nathan Sidwell <nathan@acm.org>
+
+ * demangle.h (enum demangle_component_type): Add
+ DEMANGLE_COMPONENT_STRUCTURED_BINDING.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * gomp-constants.h (GOMP_DEPEND_INOUTSET): Define.
+
2022-05-10 Martin Liska <mliska@suse.cz>
* ansidecl.h (PTR): Remove.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 344f79598c3..7b8307e0eb4 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,43 @@
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * libgomp.texi (OpenMP 5.1): Remove "Not inside target regions"
+ comment for omp_display_env feature.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * libgomp.texi (Offload-Target Specifics): New chapter; add section
+ to document OpenMP context selectors.
+
+2022-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * libgomp.h (struct gomp_task_depend_entry): Change is_in type
+ from bool to unsigned char.
+ * task.c (gomp_task_handle_depend): Handle GOMP_DEPEND_INOUTSET.
+ Ignore dependencies where
+ task->depend[i].is_in && task->depend[i].is_in == ent->is_in
+ rather than just task->depend[i].is_in && ent->is_in. Remember
+ whether GOMP_DEPEND_IN loop is needed and guard the loop with that
+ conditional.
+ (gomp_task_maybe_wait_for_dependencies): Handle GOMP_DEPEND_INOUTSET.
+ Ignore dependencies where elem.is_in && elem.is_in == ent->is_in
+ rather than just elem.is_in && ent->is_in.
+ * testsuite/libgomp.c-c++-common/depend-1.c (test): Add task with
+ inoutset depend-kind.
+ * testsuite/libgomp.c-c++-common/depend-2.c (test): Likewise.
+ * testsuite/libgomp.c-c++-common/depend-3.c (test): Likewise.
+ * testsuite/libgomp.c-c++-common/depend-inoutset-1.c: New test.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * libgomp.texi (OpenMP Implementation Status): Add 5.2 table.
+
+2022-05-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * libgomp.texi (OpenMP 5.1): Set omp_all_memory to 'Y'.
+ * testsuite/libgomp.fortran/depend-5.f90: New test.
+ * testsuite/libgomp.fortran/depend-6.f90: New test.
+ * testsuite/libgomp.fortran/depend-7.f90: New test.
+
2022-05-16 Marcel Vollweiler <marcel@codesourcery.com>
* testsuite/libgomp.c++/target-has-device-addr-7.C: New test.
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 159fd8c8851..61938ab146f 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,11 @@
+2022-05-17 Nathan Sidwell <nathan@acm.org>
+
+ * cp-demangle.c (d_make_comp): Adjust.
+ (d_unqualified_name): Add 'DC' support.
+ (d_count_template_scopes): Adjust.
+ (d_print_comp_inner): Add structured binding.
+ * testsuite/demangle-expected: Add testcases.
+
2022-05-10 Martin Liska <mliska@suse.cz>
* regex.c: Restore comments.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 794fbfecb40..0fc27dac9d9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,56 @@
+2022-05-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++17/memory_resource.cc (set_default_resource): Use
+ memory_order_acq_rel.
+ (get_default_resource): Use memory_order_acquire.
+
+2022-05-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/memory_resource (new_delete_resource): Add
+ nodiscard, returns_nonnull and const attributes.
+ (null_memory_resource): Likewise.
+ (set_default_resource, get_default_resource): Add returns_nonnull
+ attribute.
+ (memory_resource::is_equal): Add nodiscard attribute.
+ (operator==, operator!=): Likewise.
+
+2022-05-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/ios_base.h (io_category): Add const and nodiscard
+ attributes.
+ (make_error_code, make_error_condition): Add nodiscard.
+ * include/std/future (future_category): Add const and nodiscard.
+ (make_error_code, make_error_condition): Add nodiscard.
+ * include/std/system_error (generic_category system_category):
+ Add nodiscard. Replace _GLIBCXX_CONST with C++11 attribute.
+ (error_code::value, error_code::category, error_code::operator bool)
+ (error_condition::value, error_condition::category)
+ (error_condition::operator bool, make_error_code)
+ (make_error_condition, operator==, operator!=, operator<=>): Add
+ nodiscard.
+
+2022-05-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/20_util/expected/synopsis.cc: Skip for versioned
+ namespace.
+ * testsuite/27_io/headers/iosfwd/synopsis.cc: Likewise.
+
+2022-05-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/Makefile.am [ENABLE_SYMVERS_GNU_NAMESPACE] (cxx11_sources):
+ Do not build the compatibility*-c++0x.cc objects.
+ * src/Makefile.in: Regenerate.
+ * src/c++11/compatibility-c++0x.cc [_GLIBCXX_INLINE_VERSION]:
+ Refuse to build for the versioned namespace.
+ * src/c++11/compatibility-chrono.cc: Likewise.
+ * src/c++11/compatibility-condvar.cc: Likewise.
+ * src/c++11/compatibility-thread-c++0x.cc: Likewise.
+ * src/c++11/chrono.cc (system_clock, steady_clock):
+ Use macros to define in inline namespace _V2, matching the
+ declarations in <system_error>.
+ * src/c++11/system_error.cc (system_category, generic_category):
+ Likewise.
+
2022-05-16 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/prerequisites.xml: Fix attributes for external