diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5ed58b4dcc4cc69bed1fef917f0060cb78156ee5..cd7076bf4e44ec46d9b824de34a74df06d0cc898 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,96 @@
+2023-07-10  Peter Bergner  <bergner@linux.ibm.com>
+
+	* config/rs6000/predicates.md (quad_memory_operand): Remove redundant
+	MEM_P usage.
+	(vsx_quad_dform_memory_operand): Likewise.
+
+2023-07-10  Uros Bizjak  <ubizjak@gmail.com>
+
+	* reorg.cc (stop_search_p): Change return type from int to bool
+	and adjust function body accordingly.
+	(resource_conflicts_p): Ditto.
+	(insn_references_resource_p): Change return type from int to bool.
+	(insn_sets_resource_p): Ditto.
+	(redirect_with_delay_slots_safe_p): Ditto.
+	(condition_dominates_p): Change return type from int to bool
+	and adjust function body accordingly.
+	(redirect_with_delay_list_safe_p): Ditto.
+	(check_annul_list_true_false): Ditto.  Change "annul_true_p"
+	function argument to bool.
+	(steal_delay_list_from_target): Change "pannul_p" function
+	argument to bool pointer.  Change "must_annul" and "used_annul"
+	variables from int to bool.
+	(steal_delay_list_from_fallthrough): Ditto.
+	(own_thread_p): Change return type from int to bool and adjust
+	function body accordingly.  Change "allow_fallthrough" function
+	argument to bool.
+	(reorg_redirect_jump): Change return type from int to bool.
+	(fill_simple_delay_slots): Change "non_jumps_p" function
+	argument from int to bool.  Change "maybe_never" varible to bool.
+	(fill_slots_from_thread): Change "likely", "thread_if_true" and
+	"own_thread" function arguments to bool.  Change "lose" and
+	"must_annul" variables to bool.
+	(delete_from_delay_slot): Change "had_barrier" variable to bool.
+	(try_merge_delay_insns): Change "annul_p" variable to bool.
+	(fill_eager_delay_slots): Change "own_target" and "own_fallthrouhg"
+	variables to bool.
+	(rest_of_handle_delay_slots): Change return type from int to void
+	and adjust function body accordingly.
+
+2023-07-10  Kito Cheng  <kito.cheng@sifive.com>
+
+	* doc/extend.texi (RISC-V Operand Modifiers): New.
+
+2023-07-10  Ju-Zhe Zhong  <juzhe.zhong@rivai.ai>
+
+	* config/riscv/riscv-vsetvl.cc (add_label_notes): Remove it.
+	(insert_insn_end_basic_block): Ditto.
+	(pass_vsetvl::commit_vsetvls): Adapt for new helper function.
+	* gcse.cc (insert_insn_end_basic_block):  Export as global function.
+	* gcse.h (insert_insn_end_basic_block): Ditto.
+
+2023-07-10  Christophe Lyon   <christophe.lyon@linaro.org>
+
+	PR target/110268
+	* config/arm/arm-builtins.cc (arm_init_mve_builtins): Handle LTO.
+	(arm_builtin_decl): Hahndle MVE builtins.
+	* config/arm/arm-mve-builtins.cc (builtin_decl): New function.
+	(add_unique_function): Fix handling of
+	__ARM_MVE_PRESERVE_USER_NAMESPACE.
+	(add_overloaded_function): Likewise.
+	* config/arm/arm-protos.h (builtin_decl): New declaration.
+
+2023-07-10  Christophe Lyon  <christophe.lyon@linaro.org>
+
+	* doc/sourcebuild.texi (arm_v8_1m_main_cde_mve_fp): Document.
+
+2023-07-10  Xi Ruoyao  <xry111@xry111.site>
+
+	PR tree-optimization/110557
+	* tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern):
+	Ensure the output sign-extended if necessary.
+
+2023-07-10  Roger Sayle  <roger@nextmovesoftware.com>
+
+	* config/i386/i386.md (peephole2): Transform xchg insn with a
+	REG_UNUSED note to a (simple) move.
+	(*insvti_lowpart_1): New define_insn_and_split.
+	(*insvdi_lowpart_1): Likewise.
+
+2023-07-10  Roger Sayle  <roger@nextmovesoftware.com>
+
+	* config/i386/i386-features.cc (compute_convert_gain): Tweak
+	gains/costs for ROTATE/ROTATERT by integer constant on AVX512VL.
+	(general_scalar_chain::convert_rotate): On TARGET_AVX512F generate
+	avx512vl_rolv2di or avx412vl_rolv4si when appropriate.
+
+2023-07-10  liuhongt  <hongtao.liu@intel.com>
+
+	PR target/110170
+	* config/i386/i386.md (*ieee_max<mode>3_1): New pre_reload
+	splitter to detect fp max pattern.
+	(*ieee_min<mode>3_1): Ditto, but for fp min pattern.
+
 2023-07-09  Jan Hubicka  <jh@suse.cz>
 
 	* cfg.cc (check_bb_profile): Dump counts with relative frequency.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 1d5dd3c5cda4ca5e33ec5974fcbed924b13fa830..2dbd21ed6c0bba0e9e099185bb949739281974c3 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230710
+20230711
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 4f94ccf458392c46cadf135d8d14127e91c1e997..6890c5bdf30af5a50cd25aa937e77f5af1677a45 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,52 @@
+2023-07-10  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* adaint.c [_WIN32]: Undefine 'abort' macro.
+
+2023-07-10  Tom Tromey  <tromey@adacore.com>
+
+	* snames.h-tmpl (Name_Id, Attribute_Id, Convention_Id)
+	(Pragma_Id): New typedefs.
+	(Get_Attribute_Id, Get_Pragma_Id): Use typedef.
+
+2023-07-10  Yannick Moy  <moy@adacore.com>
+
+	* libgnat/s-aridou.adb (Lemma_Powers_Of_2_Commutation): Rewrite
+	assertion.
+
+2023-07-10  Bob Duff  <duff@adacore.com>
+
+	* doc/gnat_rm/gnat_language_extensions.rst
+	(Local Declarations Without Block): Document the feature very
+	briefly, and refer the reader to the RFC for details and examples.
+	* gnat_rm.texi: Regenerate.
+	* gnat_ugn.texi: Regenerate.
+
+2023-07-10  Alexandre Oliva  <oliva@adacore.com>
+
+	* doc/gnat_rm/security_hardening_features.rst (Control Flow
+	Hardening): Document -fhardcfr-skip-leaf.
+	* gnat_rm.texi: Regenerate.
+
+2023-07-10  Alexandre Oliva  <oliva@adacore.com>
+
+	* doc/gnat_rm/security_hardening_features.rst (Control Flow
+	Redundancy): Add -fhardcfr-check-noreturn-calls=no-xthrow.
+	* gnat_rm.texi: Regenerate.
+
+2023-07-10  Yannick Moy  <moy@adacore.com>
+
+	* libgnat/s-aridou.adb (Lemma_Div_Mult): New simple lemma.
+	(Lemma_Powers_Of_2_Commutation): State post in else branch.
+	(Lemma_Div_Pow2): Introduce local lemma and use it.
+	(Scaled_Divide): Use cut operations in assertions, lemmas, new
+	assertions. Introduce local lemma and use it.
+
+2023-07-10  Alexandre Oliva  <oliva@adacore.com>
+
+	* doc/gnat_rm/security_hardening_features.rst (Register
+	Scrubbing): Document leafy mode.
+	* gnat_rm.texi: Regenerate.
+
 2023-07-06  Claire Dross  <dross@adacore.com>
 
 	* gcc-interface/Make-lang.in: Add object files of specification
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 76fbc8089881fcc19561a1eaeea32e6156b46e68..3db03dbed763cf3a310a0e97e2dc2fed19a22ecd 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2023-07-10  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/110523
+	* pt.cc (redeclare_class_template): Relax the ttp DECL_CONTEXT
+	assert, and downgrade it to a checking assert.
+
 2023-06-30  Patrick Palka  <ppalka@redhat.com>
 
 	* cp-tree.h (TEMPLATE_PARM_DESCENDANTS): Harden.
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index f477aa44bcfb303a5f55a7c26c18d229b4545fb8..50750bb454050396505b564c0ad94ed68055158b 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,33 @@
+2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* dmd/MERGE: Merge upstream dmd a88e1335f7.
+	* dmd/VERSION: Bump version to v2.104.1.
+
+2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* dmd/MERGE: Merge upstream dmd 17ccd12af3.
+	* dmd/VERSION: Bump version to v2.104.0.
+	* Make-lang.in (D_FRONTEND_OBJS): Rename d/apply.o to
+	d/postordervisitor.o.
+	* d-codegen.cc (make_location_t): Update for new front-end interface.
+	(build_filename_from_loc): Likewise.
+	(build_assert_call): Likewise.
+	(build_array_bounds_call): Likewise.
+	(build_bounds_index_condition): Likewise.
+	(build_bounds_slice_condition): Likewise.
+	(build_frame_type): Likewise.
+	(get_frameinfo): Likewise.
+	* d-diagnostic.cc (d_diagnostic_report_diagnostic): Likewise.
+	* decl.cc (build_decl_tree): Likewise.
+	(start_function): Likewise.
+	* expr.cc (ExprVisitor::visit (NewExp *)): Replace code generation of
+	`new pointer' with front-end lowering.
+	* runtime.def (NEWITEMT): Remove.
+	(NEWITEMIT): Remove.
+	* toir.cc (IRVisitor::visit (LabelStatement *)): Update for new
+	front-end interface.
+	* typeinfo.cc (check_typeinfo_type): Likewise.
+
 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* dmd/MERGE: Merge upstream dmd 28a3b24c2e.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 60ec7b1288d7ee4e70173be010f9f5dfe9c4f60e..e710abdb1b3b1d1341e93d8bfc03e7774c2aa249 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,41 @@
+2023-07-10  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/110523
+	* g++.dg/template/ttp37.C: New test.
+
+2023-07-10  Christophe Lyon   <christophe.lyon@linaro.org>
+
+	PR target/110268
+	* gcc.target/arm/pr110268-1.c: New test.
+	* gcc.target/arm/pr110268-2.c: New test.
+
+2023-07-10  Christophe Lyon  <christophe.lyon@linaro.org>
+
+	* lib/target-supports.exp (arm_*FUNC_link): New effective-targets.
+
+2023-07-10  Xi Ruoyao  <xry111@xry111.site>
+
+	PR tree-optimization/110557
+	* g++.dg/vect/pr110557.cc: New test.
+
+2023-07-10  Roger Sayle  <roger@nextmovesoftware.com>
+
+	* gcc.target/i386/insvdi_lowpart-1.c: New test case.
+	* gcc.target/i386/insvti_lowpart-1.c: Likewise.
+
+2023-07-10  Roger Sayle  <roger@nextmovesoftware.com>
+
+	* gcc.target/i386/avx512vl-stv-rotatedi-1.c: New test case.
+
+2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* gdc.dg/asm4.d: Update test.
+
+2023-07-10  liuhongt  <hongtao.liu@intel.com>
+
+	* g++.target/i386/pr110170.C: New test.
+	* gcc.target/i386/pr110170.c: New test.
+
 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* gdc.dg/rtti1.d: Move array concat testcase to ...
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog
index ada4ee411d15007d5808f91c2656ca5eaa1902cc..2e7c1ee3457a17d58adddcc8c9cba2c1a9d26c06 100644
--- a/libphobos/ChangeLog
+++ b/libphobos/ChangeLog
@@ -1,3 +1,24 @@
+2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* libdruntime/MERGE: Merge upstream druntime a88e1335f7.
+	* src/MERGE: Merge upstream phobos 1921d29df.
+	* config.h.in: Regenerate.
+	* configure: Regenerate.
+	* configure.ac (libphobos-checking): Add valgrind flag.
+	(DRUNTIME_LIBRARIES_VALGRIND): Call.
+	* libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add
+	etc/valgrind/valgrind_.c.
+	(DRUNTIME_DSOURCES): Add etc/valgrind/valgrind.d.
+	(DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/input.d,
+	core/sys/linux/input_event_codes.d, core/sys/linux/uinput.d.
+	* libdruntime/Makefile.in: Regenerate.
+	* m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_VALGRIND): Define.
+
+2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* libdruntime/MERGE: Merge upstream druntime 17ccd12af3.
+	* src/MERGE: Merge upstream phobos 8d3800bee.
+
 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* libdruntime/MERGE: Merge upstream druntime 28a3b24c2e.