From 56b288f508179c210feaf5c653ca5042f8a927de Mon Sep 17 00:00:00 2001
From: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Tue, 18 Apr 2023 00:17:26 +0000
Subject: [PATCH] Daily bump.

---
 contrib/ChangeLog            |  5 ++
 gcc/ChangeLog                | 88 ++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP                |  2 +-
 gcc/ada/ChangeLog            |  4 ++
 gcc/cp/ChangeLog             |  7 +++
 gcc/testsuite/ChangeLog      | 72 +++++++++++++++++++++++++++++
 maintainer-scripts/ChangeLog |  5 ++
 7 files changed, 182 insertions(+), 1 deletion(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 169ba9ae38dc..dede6f3a1a8b 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+	* gcc-changelog/git_update_version.py (active_refs): Add
+	releases/gcc-13.
+
 2023-03-16  Jakub Jelinek  <jakub@redhat.com>
 
 	* unicode/README: Update to mention also makeuname2c.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 33e4b506765e..ce5cb674f420 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,91 @@
+2023-04-18  Fei Gao  <gaofei@eswincomputing.com>
+
+	* config/riscv/riscv.cc (riscv_first_stack_step): Make codes more
+	readable.
+	(riscv_expand_epilogue): Likewise.
+
+2023-04-17  Fei Gao  <gaofei@eswincomputing.com>
+
+	* config/riscv/riscv.cc (riscv_expand_prologue): Consider save-restore in
+	stack allocation.
+	(riscv_expand_epilogue): Consider save-restore in stack deallocation.
+
+2023-04-17  Andrew Pinski  <apinski@marvell.com>
+
+	* tree-ssa-phiopt.cc (gate_hoist_loads): Remove
+	prototype.
+
+2023-04-17  Aldy Hernandez  <aldyh@redhat.com>
+
+	* gimple-ssa-warn-alloca.cc (pass_walloca::execute): Do not export
+	global ranges.
+
+2023-04-17  Fei Gao  <gaofei@eswincomputing.com>
+
+	* config/riscv/riscv.cc (riscv_first_stack_step): Add a new function
+	parameter remaining_size.
+	(riscv_compute_frame_info): Adapt new riscv_first_stack_step interface.
+	(riscv_expand_prologue): Likewise.
+	(riscv_expand_epilogue): Likewise.
+
+2023-04-17  Feng Wang  <wangfeng@eswincomputing.com>
+
+	* config/riscv/bitmanip.md (rotrsi3_sext): Support generating
+	roriw for constant counts.
+	* rtl.h (reverse_rotate_by_imm_p): Add function declartion
+	* simplify-rtx.cc (reverse_rotate_by_imm_p): New function.
+	(simplify_context::simplify_binary_operation_1): Use it.
+	* expmed.cc (expand_shift_1): Likewise.
+
+2023-04-17  Martin Jambor  <mjambor@suse.cz>
+
+	PR ipa/107769
+	PR ipa/109318
+	* cgraph.h (symtab_node::find_reference): Add parameter use_type.
+	* ipa-prop.h (ipa_pass_through_data): New flag refdesc_decremented.
+	(ipa_zap_jf_refdesc): New function.
+	(ipa_get_jf_pass_through_refdesc_decremented): Likewise.
+	(ipa_set_jf_pass_through_refdesc_decremented): Likewise.
+	* ipa-cp.cc (ipcp_discover_new_direct_edges): Provide a value for
+	the new parameter of find_reference.
+	(adjust_references_in_caller): Likewise. Make sure the constant jump
+	function is not used to decrement a refdec counter again.  Only
+	decrement refdesc counters when the pass_through jump function allows
+	it.  Added a detailed dump when decrementing refdesc counters.
+	* ipa-prop.cc (ipa_print_node_jump_functions_for_edge): Dump new flag.
+	(ipa_set_jf_simple_pass_through): Initialize the new flag.
+	(ipa_set_jf_unary_pass_through): Likewise.
+	(ipa_set_jf_arith_pass_through): Likewise.
+	(remove_described_reference): Provide a value for the new parameter of
+	find_reference.
+	(update_jump_functions_after_inlining): Zap refdesc of new jfunc if
+	the previous pass_through had a flag mandating that we do so.
+	(propagate_controlled_uses): Likewise.  Only decrement refdesc
+	counters when the pass_through jump function allows it.
+	(ipa_edge_args_sum_t::duplicate): Provide a value for the new
+	parameter of find_reference.
+	(ipa_write_jump_function): Assert the new flag does not have to be
+	streamed.
+	* symtab.cc (symtab_node::find_reference): Add parameter use_type, use
+	it in searching.
+
+2023-04-17  Philipp Tomsich  <philipp.tomsich@vrull.eu>
+	    Di Zhao  <di.zhao@amperecomputing.com>
+
+	* config/aarch64/aarch64-tuning-flags.def (AARCH64_EXTRA_TUNING_OPTION):
+	Add AARCH64_EXTRA_TUNE_NO_LDP_COMBINE.
+	* config/aarch64/aarch64.cc (aarch64_operands_ok_for_ldpstp):
+	Check for the above tuning option when processing loads.
+
+2023-04-17  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/109524
+	* tree-vrp.cc (remove_unreachable::m_list): Change to a
+	vector of pairs of block indices.
+	(remove_unreachable::maybe_register_block): Adjust.
+	(remove_unreachable::remove_and_update_globals): Likewise.
+	Deal with removed blocks.
+
 2023-04-16  Jeff Law  <jlaw@ventanamicro>
 
 	PR target/109508
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 27b1d3f07db7..378aed56acfc 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230417
+20230418
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 842371906346..c6aa3316034f 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2023-04-17  Martin Liska  <mliska@suse.cz>
+
+	* gnatvsn.ads: Bump Library_Version to 14.
+
 2023-04-15  Eric Botcazou  <ebotcazou@adacore.com>
 
 	PR bootstrap/109510
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index bb4881d09819..d6a5b88339a1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2023-04-17  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/109531
+	* pt.cc (tsubst) <case BOUND_TEMPLATE_TEMPLATE_PARM>:
+	In the level-lowering case just use lookup_template_class
+	to rebuild the bound ttp.
+
 2023-04-15  Jason Merrill  <jason@redhat.com>
 
 	PR c++/109357
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2cda0bfd4e4b..ac704d38a63e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,75 @@
+2023-04-17  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/109531
+	* g++.dg/template/canon-type-20.C: New test.
+	* g++.dg/template/ttp36.C: New test.
+
+2023-04-17  Fei Gao  <gaofei@eswincomputing.com>
+
+	* gcc.target/riscv/stack_save_restore.c: New test.
+
+2023-04-17  Palmer Dabbelt  <palmer@rivosinc.com>
+
+	* gcc.target/riscv/xtheadfmv-fmv.c: Force the ilp32d ABI.
+
+2023-04-17  Palmer Dabbelt  <palmer@rivosinc.com>
+
+	* gcc.target/riscv/rvv/rvv.exp (gcc_mabi): New variable.
+
+2023-04-17  Palmer Dabbelt  <palmer@rivosinc.com>
+
+	PR target/106602
+	* gcc.target/riscv/pr106602.c: Moved to...
+	* gcc.target/riscv/pr106602-rv64i.c: ...here.
+	* gcc.target/riscv/pr106602-rv32i.c: New test.
+	* gcc.target/riscv/pr106602-rv64i_zba.c: New test.
+
+2023-04-17  Feng Wang  <wangfeng@eswincomputing.com>
+
+	* gcc.target/riscv/zbb-rol-ror-04.c: New test.
+	* gcc.target/riscv/zbb-rol-ror-05.c: New test.
+	* gcc.target/riscv/zbb-rol-ror-06.c: New test.
+	* gcc.target/riscv/zbb-rol-ror-07.c: New test.
+
+2023-04-17  Martin Jambor  <mjambor@suse.cz>
+
+	PR ipa/107769
+	PR ipa/109318
+	* gcc.dg/ipa/pr109318.c: New test.
+	* gcc.dg/lto/pr107769_0.c: Likewise.
+
+2023-04-17  Philipp Tomsich  <philipp.tomsich@vrull.eu>
+	    Di Zhao  <di.zhao@amperecomputing.com>
+
+	* gcc.target/aarch64/ampere1-no_ldp_combine.c: New test.
+
+2023-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+	* gcc.dg/vect/vect-simd-clone-16f.c: Add -mno-avx512f for non-lp64 x86.
+	* gcc.dg/vect/vect-simd-clone-17f.c: Likewise.
+	* gcc.dg/vect/vect-simd-clone-18f.c: Likewise.
+
+2023-04-17  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/109524
+	* g++.dg/pr109524.C: New testcase.
+
+2023-04-17  Jiufu Guo  <guojiufu@linux.ibm.com>
+
+	PR testsuite/108809
+	* gcc.target/powerpc/builtins-5-p9-runnable.c: Update for BE.
+
+2023-04-17  Kito Cheng  <kito.cheng@sifive.com>
+
+	* gcc.target/riscv/rvv/base/scalar_move-2.c: Adjust include way
+	for riscv_vector.h
+	* gcc.target/riscv/rvv/base/spill-sp-adjust.c: Add missing
+	-mabi.
+
+2023-04-17  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/rvv/base/mask_insn_shortcut.c: New test.
+
 2023-04-16  Jeff Law  <jlaw@ventanamicro>
 
 	PR target/109508
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index 153dd1823e2a..8e7fbf50615f 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+	* crontab: Snapshots from trunk are now GCC 14 related.
+	Add GCC 13 snapshots from the respective branch.
+
 2023-03-21  Arsen Arsenović  <arsen@aarsen.me>
 
 	* update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline in
-- 
GitLab