diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 969923d1341207c87db55fd1fcc2da328c090f2e..f1bc15cdf6b6fa5c8f8531a759f713c641308742 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,48 @@
+2022-03-03  Martin Sebor  <msebor@redhat.com>
+
+	PR middle-end/104761
+	* gimple-ssa-warn-access.cc (pass_waccess::execute): Call
+	mark_dfs_back_edges.
+
+2022-03-03  Martin Liska  <mliska@suse.cz>
+
+	* configure.ac: Use linker plug-in by default.
+	* configure: Regenerate.
+
+2022-03-03  Martin Liska  <mliska@suse.cz>
+
+	* configure.ac: Now ld.mold support LTO plugin API, use it.
+	* configure: Regenerate.
+
+2022-03-03  Tom de Vries  <tdevries@suse.de>
+
+	* config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Add mptx=3.1.
+
+2022-03-03  Tom de Vries  <tdevries@suse.de>
+
+	PR target/104758
+	* config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Add misa=sm_30.
+
+2022-03-03  Tom de Vries  <tdevries@suse.de>
+
+	* config/nvptx/nvptx.h (ASM_SPEC): Add %{misa=sm_30:--no-verify}.
+
+2022-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/104757
+	* gimplify.cc (gimplify_omp_loop): Call gimplify_expr rather than
+	gimplify_omp_for.
+	(gimplify_expr) <case OMP_SIMD>: Temporarily disable
+	gimplify_ctxp->into_ssa around call to gimplify_omp_for.
+
+2022-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/104558
+	* calls.cc (store_one_arg): When not calling emit_push_insn
+	because size_rtx is const0_rtx, call at least anti_adjust_stack
+	on arg->locate.alignment_pad if !argblock and the alignment might
+	be non-zero.
+
 2022-03-02  Alexandre Oliva  <oliva@adacore.com>
 
 	* lra-constraints.cc (undo_optional_reloads): Recognize and
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 6436eab527288adb2c6e118d7d5c8d6f13ef8da3..bdd22c5d4b065c7334c4db6cde8fc266ed60f82b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220303
+20220304
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 1c6387b61334c968e554c2776f491597ab90c9b0..03eb2452b167f792d333a579126764abada2394b 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,11 @@
+2022-03-03  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	PR fortran/104131
+	* openmp.cc (gfc_match_omp_detach): Move check for type of event
+	handle to...
+	(resolve_omp_clauses) ...here.  Also check that the event handle is
+	not an array, or an array access or structure element access.
+
 2022-03-02  Harald Anlauf  <anlauf@gmx.de>
 
 	PR fortran/104573
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5e6955dd70f2137f009d9d3ca4889e1a55fc4f56..fd561babd575a914d83e385f908e54df8385aa1c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,33 @@
+2022-03-03  Martin Sebor  <msebor@redhat.com>
+
+	PR middle-end/104761
+	* g++.dg/warn/Wdangling-pointer-4.C: New test.
+	* gcc.dg/Wdangling-pointer-4.c: New test.
+
+2022-03-03  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	PR fortran/104131
+	* gfortran.dg/gomp/pr104131.f90: New.
+	* gfortran.dg/gomp/task-detach-1.f90: Update expected error message.
+
+2022-03-03  Tom de Vries  <tdevries@suse.de>
+
+	* gcc.target/nvptx/sm53.c: Add -mptx=_.
+	* gcc.target/nvptx/sm70.c: Same.
+	* gcc.target/nvptx/sm75.c: Same.
+	* gcc.target/nvptx/sm80.c: Same.
+
+2022-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/104757
+	* gfortran.dg/gomp/pr104757.f90: New test.
+	* gcc.dg/gomp/pr104757.c: New test.
+
+2022-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/104558
+	* gcc.dg/pr104558.c: New test.
+
 2022-03-02  Harald Anlauf  <anlauf@gmx.de>
 
 	PR fortran/104573
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a3bd4fa4d6bcaf7df58d5d61fc972059a129aef9..9b995036f47c5d3c4176398e20c1449d4b8d717e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,21 @@
+2022-03-03  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/104748
+	* testsuite/std/ranges/adaptors/all.cc: Use non-debug vector for
+	constexpr test.
+
+2022-03-03  Jonathan Wakely  <jwakely@redhat.com>
+
+	* testsuite/17_intro/names.cc (func): Undef on AIX.
+
+2022-03-03  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/96526
+	* libsupc++/compare (strong_order): Add missing support for
+	floating-point types.
+	* testsuite/18_support/comparisons/algorithms/strong_order_floats.cc:
+	New test.
+
 2022-03-01  Jonathan Wakely  <jwakely@redhat.com>
 
 	PR middle-end/103984