diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 718d9dcdde27e208fab4c8d8e39b29ba69d4fa80..086b3758740a00d5412aca0044abdcede66cb0ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,56 @@
+2025-01-27  Robin Dapp  <rdapp@ventanamicro.com>
+
+	PR target/117173
+	* config/riscv/riscv-v.cc (shuffle_generic_patterns): Only
+	support single-source permutes by default.
+	* config/riscv/riscv.opt: New param "riscv-two-source-permutes".
+
+2025-01-27  John David Anglin  <danglin@gcc.gnu.org>
+
+	PR c++/116524
+	* configure.ac: Check for munmap and msync.
+	* configure: Regenerate.
+	* config.in: Regenerate.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/118653
+	* tree-vect-loop.cc (vectorizable_live_operation): Also allow
+	out-of-loop debug uses.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR rtl-optimization/118662
+	* combine.cc (try_combine): When re-materializing a load
+	from an extended reg by a lowpart subreg make sure we're
+	not dealing with vector or complex modes.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR middle-end/118643
+	* expr.cc (expand_expr_real_1): Avoid falling back to BIT_FIELD_REF
+	expansion for negative offset.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/112859
+	PR tree-optimization/115347
+	* tree-loop-distribution.cc
+	(loop_distribution::pg_add_dependence_edges): For a zero
+	distance vector still make sure to not have an inner
+	loop with zero distance.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/118637
+	* match.pd: Canonicalize unsigned division by power of two to
+	right shift.
+
+2025-01-27  Soumya AR  <soumyaa@nvidia.com>
+
+	PR target/118490
+	* match.pd: Added ! to verify that log/exp (CST) can be constant folded.
+
 2025-01-26  Ilya Leoshkevich  <iii@linux.ibm.com>
 
 	* asan.cc (asan_emit_stack_protection): Always zero the flag
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 06131700b01790795a6bc3b8c8a025559d811374..6f429ff09a0c7485462c936b813c64a004f15607 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250127
+20250128
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 648abccd08d5d0d0bc85cd5b9a1bb5e45e07c47c..523ac9d0e3712c64f5c0749ac779280aa10a578b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,50 @@
+2025-01-27  Jason Merrill  <jason@redhat.com>
+
+	PR c++/118632
+	* pt.cc (unify): Only strip conversion if deducible_expression.
+
+2025-01-27  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/114292
+	* pt.cc (for_each_template_parm_r) <INTEGER_TYPE>: Remove case
+	now handled by cp_walk_subtrees.
+	* tree.cc (cp_walk_subtrees): Walk the type of DECL_EXPR
+	declarations, as well as the TYPE_{MIN,MAX}_VALUE of
+	INTEGER_TYPEs.
+
+2025-01-27  John David Anglin  <danglin@gcc.gnu.org>
+
+	* module.cc: Test HAVE_MUNMAP and HAVE_MSYNC instead of
+	_POSIX_MAPPED_FILES > 0.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/115769
+	* module.cc (module_state::write_inits): Verify
+	STATIC_INIT_DECOMP_{,NON}BASE_P flags and stream changes in those
+	out.
+	(module_state::read_inits): Stream those flags in.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/115769
+	* cp-tree.h (STATIC_INIT_DECOMP_BASE_P): Define.
+	(STATIC_INIT_DECOMP_NONBASE_P): Define.
+	* decl.cc (cp_finish_decl): Mark nodes in {static,tls}_aggregates
+	emitted for namespace scope structured bindings with
+	STATIC_INIT_DECOMP_{,NON}BASE_P flags when needed.
+	* decl2.cc (decomp_handle_one_var, decomp_finalize_var_list): New
+	functions.
+	(emit_partial_init_fini_fn): Use them.
+	(prune_vars_needing_no_initialization): Assert
+	STATIC_INIT_DECOMP_*BASE_P is not set on DECL_EXTERNAL vars to be
+	pruned out.
+	(partition_vars_for_init_fini): Use same priority for
+	consecutive STATIC_INIT_DECOMP_*BASE_P vars and propagate
+	those flags to new TREE_LISTs when possible.  Formatting fix.
+	(handle_tls_init): Use decomp_handle_one_var and
+	decomp_finalize_var_list functions.
+
 2025-01-25  Simon Martin  <simon@nasilyan.com>
 
 	PR c++/118239
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c948fe59c833f25daae8b154d4f1f6c1b4ec9869..ab39c2db9ef4a4282f9e615c4946750160faedb1 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,18 @@
+2025-01-27  Harald Anlauf  <anlauf@gmx.de>
+
+	PR fortran/110993
+	* frontend-passes.cc (check_externals_procedure): Do not compare
+	interfaces of a non-bind(C) procedure against a bind(C) global one.
+	(check_against_globals): Use local name from rename-on-use in the
+	search for interfaces.
+
+2025-01-27  Paul Thomas  <pault@gcc.gnu.org>
+
+	PR fortran/118640
+	* resolve.cc (generate_component_assignments): Make sure that
+	the rhs temporary does not pick up the optional attribute from
+	the lhs.
+
 2025-01-26  Tobias Burnus  <tburnus@baylibre.com>
 
 	* openmp.cc (gfc_omp_directives): Uncomment unroll and tile lines
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d980ba9d25b29a87fa626646d37bb071d79ae629..24dbc2eeb047819fc569af168b600c6343661677 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,117 @@
+2025-01-27  Jason Merrill  <jason@redhat.com>
+
+	PR c++/118632
+	* g++.dg/cpp0x/nontype7.C: New test.
+
+2025-01-27  Vineet Gupta  <vineetg@rivosinc.com>
+
+	PR target/118646
+	* gfortran.target/riscv/rvv/pr118646.f90 (New Test).
+
+2025-01-27  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/114292
+	* g++.dg/cpp1y/lambda-ice4.C: New test.
+
+2025-01-27  Robin Dapp  <rdapp@ventanamicro.com>
+
+	* gcc.target/riscv/rvv/autovec/reduc/reduc-8.c: Remove
+	VEC_SHL_INSERT check.
+	* gcc.target/riscv/rvv/autovec/reduc/reduc-9.c: Ditto.
+
+2025-01-27  Robin Dapp  <rdapp@ventanamicro.com>
+
+	* gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_64-12-zvbb.c:
+	Distinguish between zvfh and !zvfh.
+
+2025-01-27  Robin Dapp  <rdapp@ventanamicro.com>
+
+	PR target/117173
+	* gcc.dg/fold-perm-2.c: Run with two-source permutes.
+	* gcc.dg/pr54346.c: Ditto.
+
+2025-01-27  Harald Anlauf  <anlauf@gmx.de>
+
+	PR fortran/110993
+	* gfortran.dg/use_rename_14.f90: New test.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	* g++.dg/modules/dr2867-1_a.H.jj1: Remove.
+	* g++.dg/modules/dr2867-1_b.C.jj1: Remove.
+	* g++.dg/modules/dr2867-2_a.H.jj1: Remove.
+	* g++.dg/modules/dr2867-2_b.C.jj1: Remove.
+	* g++.dg/modules/dr2867-3_a.H.jj1: Remove.
+	* g++.dg/modules/dr2867-3_b.C.jj1: Remove.
+	* g++.dg/modules/dr2867-4_a.H.jj1: Remove.
+	* g++.dg/modules/dr2867-4_b.C.jj1: Remove.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/115769
+	* g++.dg/modules/dr2867-1_a.H: New test.
+	* g++.dg/modules/dr2867-1_b.C: New test.
+	* g++.dg/modules/dr2867-2_a.H: New test.
+	* g++.dg/modules/dr2867-2_b.C: New test.
+	* g++.dg/modules/dr2867-3_a.H: New test.
+	* g++.dg/modules/dr2867-3_b.C: New test.
+	* g++.dg/modules/dr2867-4_a.H: New test.
+	* g++.dg/modules/dr2867-4_b.C: New test.
+	* g++.dg/modules/dr2867-1_a.H.jj1: New file.
+	* g++.dg/modules/dr2867-1_b.C.jj1: New file.
+	* g++.dg/modules/dr2867-2_a.H.jj1: New file.
+	* g++.dg/modules/dr2867-2_b.C.jj1: New file.
+	* g++.dg/modules/dr2867-3_a.H.jj1: New file.
+	* g++.dg/modules/dr2867-3_b.C.jj1: New file.
+	* g++.dg/modules/dr2867-4_a.H.jj1: New file.
+	* g++.dg/modules/dr2867-4_b.C.jj1: New file.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/115769
+	* g++.dg/DRs/dr2867-5.C: New test.
+	* g++.dg/DRs/dr2867-6.C: New test.
+	* g++.dg/DRs/dr2867-7.C: New test.
+	* g++.dg/DRs/dr2867-8.C: New test.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/118653
+	* gcc.dg/vect/pr118653.c: New testcase.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR rtl-optimization/118662
+	* gcc.dg/torture/pr118662.c: New testcase.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR middle-end/118643
+	* gcc.dg/pr118643.c: New testcase.
+
+2025-01-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/112859
+	PR tree-optimization/115347
+	* gcc.dg/torture/pr112859.c: New testcase.
+	* gcc.dg/torture/pr115347.c: Likewise.
+
+2025-01-27  Paul Thomas  <pault@gcc.gnu.org>
+
+	PR fortran/118640
+	* gfortran.dg/pr118640.f90: New test.
+
+2025-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/118637
+	* gcc.dg/tree-ssa/pr118637.c: New test.
+
+2025-01-27  Soumya AR  <soumyaa@nvidia.com>
+
+	PR target/118490
+	* gcc.dg/pr118490.c: New test.
+	* gcc.dg/pr: New file.
+
 2025-01-26  Sandra Loosemore  <sloosemore@baylibre.com>
 
 	* gfortran.dg/gomp/atomic-26.f90: Correct expected output after
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d2358a323d924dbc4c6793f92267acaacf56c89f..bde5fea5260a118904ae81db3bd7d8b206d1c769 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,12 @@
+2025-01-27  Andreas Schwab  <schwab@suse.de>
+
+	PR libstdc++/118563
+	* testsuite/util/testsuite_abi.cc (check_version): Add
+	CXXABI_1.3.16.
+	* config/abi/pre/gnu.ver (CXXABI_1.3.14) [__riscv]: Exclude
+	typeinfo for bfloat16_t.
+	(CXXABI_1.3.16) [__riscv]: Add it here.
+
 2025-01-23  Jan Hubicka  <jh@suse.cz>
 
 	PR target/80813