From ef84d2fea6e44f8dd5fca948c07c676d47f0e171 Mon Sep 17 00:00:00 2001
From: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Wed, 28 Aug 2024 00:19:45 +0000
Subject: [PATCH] Daily bump.

---
 gcc/ChangeLog           | 560 +++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/cp/ChangeLog        |  62 +++++
 gcc/po/ChangeLog        |   4 +
 gcc/testsuite/ChangeLog | 567 ++++++++++++++++++++++++++++++++++++++++
 libcpp/ChangeLog        |   7 +
 libgcc/ChangeLog        |   4 +
 libstdc++-v3/ChangeLog  |   9 +
 8 files changed, 1214 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0c6715aabcb1..a11dd36a0b81 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,563 @@
+2024-08-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+	PR target/116413
+	* config/m68k/m68k.cc (m68k_decompose_index): Accept ASHIFT like
+	MULT.
+	(m68k_rtx_costs) [PLUS]: Likewise.
+	(m68k_legitimize_address): Likewise.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.cc (expand_vector_init_insert_elems): Relocate.
+	(expand_vector_init_trailing_same_elem): Ditto.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.cc (expand_const_vector): Allow non-duplicate
+	to fall through other patterns before asserting.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.h (valid_vec_immediate_p): Add new helper.
+	* config/riscv/riscv-v.cc (valid_vec_immediate_p): Ditto.
+	(expand_const_vector): Use new helper.
+	* config/riscv/riscv.cc (riscv_const_insns): Handle 0.0 floating-point
+	case.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.cc (class rvv_builder): Move to riscv-v.h.
+	* config/riscv/riscv.cc (riscv_const_insns): Emit placeholder costs for
+	bool/stepped const vectors.
+	* config/riscv/riscv-v.h: New file.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.cc (expand_const_vector): Use tmp register if
+	needed.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv.cc (riscv_const_insns): Relocate.
+
+2024-08-27  Patrick O'Neill  <patrick@rivosinc.com>
+
+	* config/riscv/riscv-v.cc (expand_const_vector): Fix STEP size in
+	expander.
+
+2024-08-27  Christophe Lyon  <christophe.lyon@linaro.org>
+
+	* config/arm/vfp.md (movdi_vfp, thumb2_movdf_vfp): Handle MVE
+	case.
+
+2024-08-27  H.J. Lu  <hjl.tools@gmail.com>
+
+	* doc/sourcebuild.texi (check-function-bodies): Add an optional
+	argument for matched output lines.
+
+2024-08-27  Michael Matz  <matz@suse.de>
+
+	PR target/116429
+	* lra.cc (setup_sp_offset): Start with sp_offset from
+	before the new sequence, not from after.
+
+2024-08-27  Michael Matz  <matz@suse.de>
+
+	PR target/116374
+	* lra-eliminations.cc (init_elim_table): Use -1 as initializer.
+	(update_reg_eliminate): Accept -1 as not-yet-used marker.
+	(eliminate_regs_in_insn): Use previous_sp_offset only when
+	not first_p.
+
+2024-08-27  Michael Matz  <matz@suse.de>
+
+	PR target/116413
+	* final.cc (walk_alter_subreg): Recurse on AHIFT.
+
+2024-08-27  Richard Sandiford  <richard.sandiford@arm.com>
+
+	PR middle-end/116413
+	* rtl.h (address_info): Update commentary.
+	* rtlanal.cc (valid_base_or_index_term_p): New function, split
+	out from...
+	(get_base_term, get_index_term): ...here.  Handle elimination PLUSes.
+
+2024-08-27  Richard Sandiford  <richard.sandiford@arm.com>
+
+	PR middle-end/116321
+	* lra-constraints.cc (get_hard_regno): Only apply eliminations
+	to existing hard registers.
+	(get_reg_class): Likewise.
+
+2024-08-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116460
+	* tree-ssa-forwprop.cc (pass_forwprop::execute): First do
+	simple_dce_from_worklist and then remove stmts in to_remove.
+	Track defs to be removed in to_remove_defs.
+
+2024-08-27  Pan Li  <pan2.li@intel.com>
+
+	* config/riscv/riscv.cc (riscv_expand_ussub): Gen xmode for the
+	second operand, aka y in parameter.
+	* config/riscv/riscv.md (ussub<mode>3): Allow const_int for operand 2.
+
+2024-08-26  Hans-Peter Nilsson  <hp@axis.com>
+
+	PR middle-end/115883
+	* combine.cc (make_more_copies): Copy attributes from the original
+	pseudo to the new copy.
+
+2024-08-26  Arsen Arsenović  <arsen@aarsen.me>
+
+	* coroutine-passes.cc (execute_early_expand_coro_ifns): Emit a
+	sorry if a statement is an alloca call.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* Makefile.in (OBJS-libcommon): Add diagnostic-format-text.o.
+	* diagnostic-format-json.cc: Include "diagnostic-format.h".
+	* diagnostic-format-sarif.cc: Likewise.
+	* diagnostic-format-text.cc: New file, using material from
+	diagnostics.cc.
+	* diagnostic-global-context.cc: Include
+	"diagnostic-format.h".
+	* diagnostic-format-text.h: New file, using material from
+	diagnostics.h.
+	* diagnostic-format.h: New file, using material from
+	diagnostics.h.
+	* diagnostic.cc: Include "diagnostic-format.h" and
+	"diagnostic-format-text.h".
+	(diagnostic_text_output_format::~diagnostic_text_output_format):
+	Move to diagnostic-format-text.cc.
+	(diagnostic_text_output_format::on_report_diagnostic): Likewise.
+	(diagnostic_text_output_format::on_diagram): Likewise.
+	(diagnostic_text_output_format::print_any_cwe): Likewise.
+	(diagnostic_text_output_format::print_any_rules): Likewise.
+	(diagnostic_text_output_format::print_option_information):
+	Likewise.
+	* diagnostic.h (class diagnostic_output_format): Move to
+	diagnostic-format.h.
+	(class diagnostic_text_output_format): Move to
+	diagnostic-format-text.h.
+	(diagnostic_output_format_init): Move to
+	diagnostic-format.h.
+	(diagnostic_output_format_init_json_stderr): Likewise.
+	(diagnostic_output_format_init_json_file): Likewise.
+	(diagnostic_output_format_init_sarif_stderr): Likewise.
+	(diagnostic_output_format_init_sarif_file): Likewise.
+	(diagnostic_output_format_init_sarif_stream): Likewise.
+	* gcc.cc: Include "diagnostic-format.h".
+	* opts.cc: Include "diagnostic-format.h".
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* diagnostic-format-json.cc
+	(json_output_format::on_begin_diagnostic): Delete.
+	(json_output_format::on_end_diagnostic): Rename to...
+	(json_output_format::on_report_diagnostic): ...this and add call
+	to pp_output_formatted_text.
+	(diagnostic_output_format_init_json): Drop unnecessary calls
+	to disable textual printing of CWEs, rules, and options.
+	* diagnostic-format-sarif.cc (sarif_builder::end_diagnostic):
+	Rename to...
+	(sarif_builder::on_report_diagnostic): ...this and add call to
+	pp_output_formatted_text.
+	(sarif_output_format::on_begin_diagnostic): Delete.
+	(sarif_output_format::on_end_diagnostic): Rename to...
+	(sarif_output_format::on_report_diagnostic): ...this and update
+	call to m_builder accordingly.
+	(diagnostic_output_format_init_sarif): Drop unnecessary calls
+	to disable textual printing of CWEs, rules, and options.
+	* diagnostic.cc (diagnostic_context::print_any_cwe): Convert to...
+	(diagnostic_text_output_format::print_any_cwe): ...this.
+	(diagnostic_context::print_any_rules): Convert to...
+	(diagnostic_text_output_format::print_any_rules): ...this.
+	(diagnostic_context::print_option_information): Convert to...
+	(diagnostic_text_output_format::print_option_information):
+	...this.
+	(diagnostic_context::report_diagnostic): Replace calls to the
+	output format's on_begin_diagnostic, to pp_output_formatted_text,
+	printing CWE, rules, option info, and the call to the format's
+	on_end_diagnostic with a call to the format's
+	on_report_diagnostic.
+	(diagnostic_text_output_format::on_begin_diagnostic): Delete.
+	(diagnostic_text_output_format::on_end_diagnostic): Delete.
+	(diagnostic_text_output_format::on_report_diagnostic): New vfunc,
+	which effectively does the on_begin_diagnostic, the call to
+	pp_output_formatted_text, the calls for printing CWE, rules,
+	option info, and the call to the diagnostic_finalizer.
+	* diagnostic.h (diagnostic_output_format::on_begin_diagnostic):
+	Delete.
+	(diagnostic_output_format::on_end_diagnostic): Delete.
+	(diagnostic_output_format::on_report_diagnostic): New.
+	(diagnostic_text_output_format::on_begin_diagnostic): Delete.
+	(diagnostic_text_output_format::on_end_diagnostic): Delete.
+	(diagnostic_text_output_format::on_report_diagnostic): New.
+	(class diagnostic_context): Add friend class
+	diagnostic_text_output_format.
+	(diagnostic_context::get_urlifier): New accessor.
+	(diagnostic_context::print_any_cwe): Move decl...
+	(diagnostic_text_output_format::print_any_cwe): ...to here.
+	(diagnostic_context::print_any_rules): Move decl...
+	(diagnostic_text_output_format::print_any_rules): ...to here.
+	(diagnostic_context::print_option_information): Move decl...
+	(diagnostic_text_output_format::print_option_information): ...to
+	here.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* diagnostic-format-sarif.cc: Add comments noting that we don't
+	yet capture any diagnostic_metadata::rules associated with a
+	diagnostic.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* pretty-print.cc (selftest::test_urls): Make static.
+	(selftest::test_urls_from_braces): New.
+	(selftest::test_null_urls): Make static.
+	(selftest::test_urlification): Likewise.
+	(selftest::pretty_print_cc_tests): Call test_urls_from_braces.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* json.h: Fix typo in comment about missing INCLUDE_MEMORY.
+
+2024-08-26  Andi Kleen  <ak@gcc.gnu.org>
+
+	* tree-if-conv.cc: Remove unneeded include from last change.
+
+2024-08-26  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+	PR debug/116470
+	* configure.ac: Add the "nop" instruction for cpu type ft32.
+	* configure: Regenerate.
+	* dwarf2out.cc (dwarf2out_set_ignored_loc): Use the correct
+	line info section.
+
+2024-08-26  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116460
+	* tree-ssa-forwprop.cc (pass_forwprop::execute): Do not
+	process blocks in unreachable natural loops.
+
+2024-08-26  Richard Biener  <rguenther@suse.de>
+
+	* tree-ssa-forwprop.cc (simplify_gimple_switch_label_vec):
+	Delay removing edges and releasing dominator info, instead
+	record into edges_to_remove vector.
+	(simplify_gimple_switch): Pass through vector of to remove
+	edges.
+	(pass_forwprop::execute): Likewise.  Remove queued edges.
+
+2024-08-26  Xi Ruoyao  <xry111@xry111.site>
+	    Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116348
+	* tree-vect-stmts.cc (supportable_widening_operation): Use
+	STMT_VINFO_REDUC_DEF (x) instead of
+	STMT_VINFO_DEF_TYPE (x) == vect_reduction_def.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* match.pd: Add int_fits_type_p check for .SAT_ADD imm operand.
+
+2024-08-26  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR middle-end/116480
+	* internal-fn.cc (expand_POPCOUNT): Use the correct mode
+	for store flags.
+
+2024-08-26  Haochen Jiang  <haochen.jiang@intel.com>
+
+	* config/i386/avx10_2-512convertintrin.h
+	(_mm512_cvtpbf8_ph): New.
+	(_mm512_mask_cvtpbf8_ph): Ditto.
+	(_mm512_maskz_cvtpbf8_ph): Ditto.
+	* config/i386/avx10_2convertintrin.h
+	(_mm_cvtpbf8_ph): Ditto.
+	(_mm_mask_cvtpbf8_ph): Ditto.
+	(_mm_maskz_cvtpbf8_ph): Ditto.
+	(_mm256_cvtpbf8_ph): Ditto.
+	(_mm256_mask_cvtpbf8_ph): Ditto.
+	(_mm256_maskz_cvtpbf8_ph): Ditto.
+
+2024-08-26  Zhang, Jun  <jun.zhang@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+	    Hongtao Liu  <hongtao.liu@intel.com>
+
+	* config/i386/i386-expand.cc
+	(ix86_ssecom_setcc): Mention behavior change on flags.
+	(ix86_expand_sse_comi): Handle AVX10.2 behavior.
+	(ix86_expand_sse_comi_round): Ditto.
+	(ix86_expand_round_builtin): Ditto.
+	(ix86_expand_builtin): Change function call.
+	* config/i386/i386.md (UNSPEC_COMX): New unspec.
+	* config/i386/sse.md
+	(avx10_2_v<unord>comx<ssemodesuffix><round_saeonly_name>): New.
+	(<sse>_<unord>comi<round_saeonly_name>): Add HFmode.
+
+2024-08-26  Zhang, Jun  <jun.zhang@intel.com>
+
+	* config.gcc: Add avx10_2copyintrin.h.
+	* config/i386/i386.md (avx10_2): New isa attribute.
+	* config/i386/immintrin.h: Include avx10_2copyintrin.h.
+	* config/i386/sse.md
+	(sse_movss_<mode>): Add new constraints to handle AVX10.2.
+	(vec_set<mode>_0): Ditto.
+	(@vec_set<mode>_0): Ditto.
+	(vec_set<mode>_0): Ditto.
+	(avx512fp16_mov<mode>): Ditto.
+	(*vec_set<mode>_0_1): New split.
+	* config/i386/avx10_2copyintrin.h: New file.
+
+2024-08-26  Mo, Zewei  <zewei.mo@intel.com>
+	    Hu, Lin1  <lin1.hu@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+
+	* config.gcc: Add avx10_2-512minmaxintrin.h and
+	avx10_2minmaxintrin.h.
+	* config/i386/i386-builtin-types.def:
+	Add DEF_FUNCTION_TYPE (V8BF, V8BF, V8BF, INT, V8BF, UQI),
+	(V16BF, V16BF, V16BF, INT, V16BF, UHI),
+	(V32BF, V32BF, V32BF, INT, V32BF, USI),
+	(V8HF, V8HF, V8HF, INT, V8HF, UQI),
+	(V8DF, V8DF, V8DF, INT, V8DF, UQI, INT),
+	(V32HF, V32HF, V32HF, INT, V32HF, USI, INT),
+	(V16HF, V16HF, V16HF, INT, V16HF, UHI, INT),
+	(V16SF, V16SF, V16SF, INT, V16SF, UHI, INT).
+	* config/i386/i386-builtin.def (BDESC): Add new builtins.
+	* config/i386/i386-expand.cc
+	(ix86_expand_args_builtin): Handle V8BF_FTYPE_V8BF_V8BF_INT_V8BF_UQI,
+	V16BF_FTYPE_V16BF_V16BF_INT_V16BF_UHI,
+	V32BF_FTYPE_V32BF_V32BF_INT_V32BF_USI,
+	V8HF_FTYPE_V8HF_V8HF_INT_V8HF_UQI,
+	(ix86_expand_round_builtin): Handle V8DF_FTYPE_V8DF_V8DF_INT_V8DF_UQI_INT,
+	V32HF_FTYPE_V32HF_V32HF_INT_V32HF_USI_INT,
+	V16HF_FTYPE_V16HF_V16HF_INT_V16HF_UHI_INT.
+	V16SF_FTYPE_V16SF_V16SF_INT_V16SF_UHI_INT.
+	* config/i386/immintrin.h: Include avx10_2-512mixmaxintrin.h and
+	avx10_2minmaxintrin.h.
+	* config/i386/sse.md (VFH_AVX10_2): New.
+	(avx10_2_vminmaxnepbf16_<mode><mask_name>): New define_insn.
+	(avx10_2_minmaxp<mode><mask_name><round_saeonly_name>): Ditto.
+	(avx10_2_minmaxs<mode><mask_scalar_name><round_saeonly_scalar_name>): Ditto.
+	* config/i386/avx10_2-512minmaxintrin.h: New file.
+	* config/i386/avx10_2minmaxintrin.h: Ditto.
+
+2024-08-26  Hu, Lin1  <lin1.hu@intel.com>
+
+	* config/i386/avx10_2-512satcvtintrin.h: Add new intrin.
+	* config/i386/avx10_2satcvtintrin.h: Ditto.
+	* config/i386/i386-builtin.def (BDESC): Add new builtins.
+	* config/i386/sse.md (VF1_VF2_AVX10_2): New iterator.
+	(VF2_AVX10_2): Ditto.
+	(VI8_AVX10_2): Ditto.
+	(sat_cvt_sign_prefix): Add new UNSPEC.
+	(UNSPEC_SAT_CVT_DS_SIGN_ITER): New iterator.
+	(pd2dqssuff): Ditto.
+	(avx10_2_vcvtt<castmode>2<sat_cvt_sign_prefix>dqs<mode><mask_name><round_saeonly_name>):
+	New.
+	(avx10_2_vcvttpd2<sat_cvt_sign_prefix>qqs<mode><mask_name><round_saeonly_name>):
+	Ditto.
+	(avx10_2_vcvttps2<sat_cvt_sign_prefix>qqs<mode><mask_name><round_saeonly_name>):
+	Ditto.
+	(avx10_2_vcvttsd2<sat_cvt_sign_prefix>sis<mode><round_saeonly_name>):
+	Ditto.
+	(avx10_2_vcvttss2<sat_cvt_sign_prefix>sis<mode><round_saeonly_name>):
+	Ditto.
+
+2024-08-26  Hu, Lin1  <lin1.hu@intel.com>
+
+	* config.gcc: Add avx10_2satcvtintrin.h and
+	avx10_2-512satcvtintrin.h.
+	* config/i386/i386-builtin-types.def:
+	Add DEF_FUNCTION_TYPE (V8HI, V8BF, V8HI, UQI),
+	(V16HI, V16BF, V16HI, UHI), (V32HI, V32BF, V32HI, USI),
+	(V16SI, V16SF, V16SI, UHI, INT), (V16HI, V16BF, V16HI, UHI, INT),
+	(V32HI, V32BF, V32HI, USI, INT).
+	* config/i386/i386-builtin.def (BDESC): Add new builtins.
+	* config/i386/i386-expand.cc (ix86_expand_args_builtin): Handle
+	V32HI_FTYPE_V32BF_V32HI_USI, V16HI_FTYPE_V16BF_V16HI_UHI,
+	V8HI_FTYPE_V8BF_V8HI_UQI.
+	(ix86_expand_round_builtin): Handle V32HI_FTYPE_V32BF_V32HI_USI_INT,
+	V16SI_FTYPE_V16SF_V16SI_UHI_INT, V16HI_FTYPE_V16BF_V16HI_UHI_INT.
+	* config/i386/immintrin.h: Include avx10_2satcvtintrin.h and
+	avx10_2-512savcvtintrin.h.
+	* config/i386/sse.md:
+	(UNSPEC_CVTNE_BF16_IBS_ITER): New iterator.
+	(sat_cvt_sign_prefix): Ditto.
+	(sat_cvt_trunc_prefix): Ditto.
+	(UNSPEC_CVT_PH_IBS_ITER): Ditto.
+	(UNSPEC_CVTT_PH_IBS_ITER): Ditto.
+	(UNSPEC_CVT_PS_IBS_ITER): Ditto.
+	(UNSPEC_CVTT_PS_IBS_ITER): Ditto.
+	(avx10_2_cvt<sat_cvt_trunc_prefix>nebf162i<sat_cvt_sign_prefix>bs<mode><mask_name>):
+	New define_insn.
+	(avx10_2_cvtph2i<sat_cvt_sign_prefix>bs<mode><mask_name><round_name>):
+	Ditto.
+	(avx10_2_cvttph2i<sat_cvt_sign_prefix>bs<mode><mask_name><round_saeonly_name>):
+	Ditto.
+	(avx10_2_cvtps2i<sat_cvt_sign_prefix>bs<mode><mask_name><round_name>):
+	Ditto.
+	(avx10_2_cvttps2i<sat_cvt_sign_prefix>bs<mode><mask_name><round_saeonly_name>):
+	Ditto.
+	* config/i386/avx10_2-512satcvtintrin.h: New file.
+	* config/i386/avx10_2satcvtintrin.h: Ditto.
+
+2024-08-26  konglin1  <lingling.kong@intel.com>
+	    Levy Hsu  <admin@levyhsu.com>
+
+	* config/i386/avx10_2-512bf16intrin.h: Add new intrinsics.
+	* config/i386/avx10_2bf16intrin.h: Diito.
+	* config/i386/i386-builtin-types.def : Add new DEF_FUNCTION_TYPE
+	for new type.
+	* config/i386/i386-builtin.def (BDESC): Add new buildin.
+	* config/i386/i386-expand.cc (ix86_expand_args_builtin):
+	Handle new type.
+	* config/i386/sse.md (vecmemsuffix): Add vector BF mode.
+	(avx10_2_rsqrtpbf16_<mode><mask_name>): New define_insn.
+	(avx10_2_sqrtnepbf16_<mode><mask_name>): Ditto.
+	(avx10_2_rcppbf16_<mode><mask_name>): Ditto.
+	(avx10_2_getexppbf16_<mode><mask_name>): Ditto.
+	(BF16IMMOP): New iterator.
+	(bf16immop): Ditto.
+	(avx10_2_<bf16immop>pbf16_<mode><mask_name>): New define_insn.
+	(avx10_2_fpclasspbf16_<mode><mask_scalar_merge_name>): Ditto.
+	(avx10_2_cmppbf16_<mode><mask_scalar_merge_name>): Ditto.
+	(avx10_2_comsbf16_v8bf): Ditto.
+
+2024-08-26  konglin1  <lingling.kong@intel.com>
+	    Levy Hsu  <admin@levyhsu.com>
+
+	* config.gcc: Add avx10_2-512bf16intrin.h and avx10_2bf16intrin.h.
+	* config/i386/i386-builtin-types.def : Add new
+	DEF_FUNCTION_TYPE for V32BF_FTYPE_V32BF_V32BF,
+	V16BF_FTYPE_V16BF_V16BF, V8BF_FTYPE_V8BF_V8BF,
+	V8BF_FTYPE_V8BF_V8BF_UQI, V16BF_FTYPE_V16BF_V16BF_UHI,
+	V32BF_FTYPE_V32BF_V32BF_USI, V32BF_FTYPE_V32BF_V32BF_V32BF_USI,
+	V8BF_FTYPE_V8BF_V8BF_V8BF_UQI and V16BF_FTYPE_V16BF_V16BF_V16BF_UHI.
+	* config/i386/i386-builtin.def (BDESC): Add new builtins.
+	* config/i386/i386-expand.cc (ix86_expand_args_builtin):
+	Handle new DEF_FUNCTION_TYPE.
+	* config/i386/immintrin.h: Include avx10_2-512bf16intrin.h and
+	avx10_2bf16intrin.h.
+	* config/i386/sse.md
+	(VBF_AVX10_2): New iterator.
+	(avx10_2_scalefpbf16_<mode><mask_name>): New define_insn.
+	(avx10_2_<code>nepbf16_<mode><mask_name>): Ditto.
+	(avx10_2_<insn>nepbf16_<mode><mask_name>): Ditto.
+	(avx10_2_fmaddnepbf16_<mode>_maskz): New expander.
+	(avx10_2_fnmaddnepbf16_<mode>_maskz): Ditto.
+	(avx10_2_fmsubnepbf16_<mode>_maskz): Ditto.
+	(avx10_2_fnmsubnepbf16_<mode>_maskz): Ditto.
+	(avx10_2_fmaddnepbf16_<mode><sd_maskz_name>): New define_insn.
+	(avx10_2_fmaddnepbf16_<mode>_mask): Ditto.
+	(avx10_2_fmaddnepbf16_<mode>_mask3): Ditto.
+	(avx10_2_fnmaddnepbf16_<mode><sd_maskz_name>): Ditto.
+	(avx10_2_fnmaddnepbf16_<mode>_mask): Ditto.
+	(avx10_2_fnmaddnepbf16_<mode>_mask3): Ditto.
+	(avx10_2_fmsubnepbf16_<mode><sd_maskz_name>): Ditto.
+	(avx10_2_fmsubnepbf16_<mode>_mask): Ditto.
+	(avx10_2_fmsubnepbf16_<mode>_mask3): Ditto.
+	(avx10_2_fnmsubnepbf16_<mode><sd_maskz_name>): Ditto.
+	(avx10_2_fnmsubnepbf16_<mode>_mask): Ditto.
+	(avx10_2_fnmsubnepbf16_<mode>_mask3): Ditto.
+	* config/i386/avx10_2-512bf16intrin.h: New file.
+	* config/i386/avx10_2bf16intrin.h: Ditto.
+
+2024-08-26  Levy Hsu  <admin@levyhsu.com>
+	    Kong Lingling  <lingling.kong@intel.com>
+
+	* config.gcc: Add avx10_2-512convertintrin.h and
+	avx10_2convertintrin.h.
+	* config/i386/i386-builtin-types.def: Add new DEF_POINTER_TYPE
+	and DEF_FUNCTION_TYPE.
+	* config/i386/i386-builtin.def (BDESC): Add new builtins.
+	* config/i386/i386-expand.cc (ix86_expand_args_builtin):
+	Handle AVX10.2.
+	(ix86_expand_round_builtin): Ditto.
+	* config/i386/immintrin.h: Include avx10_2-512convertintrin.h,
+	avx10_2convertintrin.h.
+	* config/i386/sse.md (VHF_AVX10_2): New iterator.
+	(bf16_ph): Add 512 bit mode.
+	(avx10_2_cvt2ps2phx_<mode><mask_name<round_name>): New define_insn.
+	(ssebvecmode): New iterator.
+	(UNSPEC_NECONVERTFP8_PACK): Ditto.
+	(neconvertfp8_pack): Ditto.
+	(vcvt<neconvertfp8_pack><mode><mask_name>): New define_insn.
+	(ssebvecmode_2): New iterator.
+	(UNSPEC_VCVTBIASPH2FP8_PACK): Ditto.
+	(biasph2fp8_pack): Ditto.
+	(vcvt<biasph2fp8_pack>v8hf): New expander.
+	(vcvt<biasph2fp8_pack>v8hf_mask): Ditto.
+	(*vcvt<biasph2bf8_pack>v8hf): New define_insn.
+	(*vcvt<biasph2fp8_pack>v8hf_mask): Ditto.
+	(VHF_AVX10_2_2): New iterator.
+	(vcvt<biasph2fp8_pack><mode><mask_name>): New define_insn.
+	(VHF_256_512): New iterator.
+	(ph2fp8suff): Ditto.
+	(UNSPEC_NECONVERTPH2FP8_PACK): Ditto.
+	(neconvertph2fp8): Ditto.
+	(vcvt<neconvertph2fp8>v8hf_mask): New expander.
+	(*vcvt<neconvertph2fp8>v8hf): New define_insn.
+	(*vcvt<neconvertph2fp8>v8hf_mask): Ditto.
+	(vcvt<neconvertph2fp8><mode><mask_name>): Ditto.
+	(vcvthf82ph<mode><mask_name>): Ditto.
+	* config/i386/avx10_2-512convertintrin.h: New file.
+	* config/i386/avx10_2convertintrin.h: Ditto.
+
+2024-08-26  Haochen Jiang  <haochen.jiang@intel.com>
+	    Hongyu Wang  <hongyu.wang@intel.com>
+
+	* config/i386/avx10_2-512mediaintrin.h: Add new intrins.
+	* config/i386/avx10_2mediaintrin.h: Ditto.
+	* config/i386/i386-builtin.def: Add new builtins.
+	* config/i386/i386-builtins.cc (def_builtin): Handle shared
+	builtins between AVXVNNIINT16 and AVX10.2.
+	* config/i386/i386-expand.cc (ix86_check_builtin_isa_match):
+	Ditto.
+	* config/i386/sse.md (unspec): Add UNSPEC_VDPPHPS.
+	(avx10_2_mpsadbw<mask_name>): New define_insn.
+	(<mask_codefor><sse4_1_avx2>_mpsadbw<mask_name>): Ditto.
+	(vpdp<vpdpwprodtype>_<mode>): Add AVX10_2_256.
+	(vpdp<vpdpwprodtype>_v16si): New defin_insn.
+	(vpdp<vpdpwprodtype>_<mode>_mask): Ditto.
+	(*vpdp<vpdpwprodtype>_<mode>_maskz): Ditto.
+	(vpdp<vpdpwprodtype>_<mode>_maskz): New expander.
+	(vdpphps_<mode>): New define_insn.
+	(vdpphps_<mode>_mask): Ditto.
+	(*vdpphps_<mode>_maskz): Ditto.
+	(vdpphps_<mode>_maskz): New expander.
+
+2024-08-26  Hongyu Wang  <hongyu.wang@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+
+	* config.gcc: Add avx10_2mediaintrin.h and
+	avx10_2-512mediaintrin.h.
+	* config/i386/i386-builtin.def: Add new builtins.
+	* config/i386/i386-builtins.cc (def_builtin): Handle shared
+	builtins between AVXVNNIINT8 and AVX10.2.
+	* config/i386/i386-expand.cc (ix86_check_builtin_isa_match):
+	Ditto.
+	* config/i386/immintrin.h: Include avx10_2mediaintrin.h and
+	avx10_2-512mediaintrin.h
+	* config/i386/sse.md: (VI4_AVX10_2): New.
+	(vpdp<vpdotprodtype>_<mode>): Add AVX10_2_256.
+	(vpdp<vpdotprodtype>_v16si): New define_insn.
+	(vpdp<vpdotprodtype>_<mode>_mask): Ditto.
+	(*vpdp<vpdotprodtype>_<mode>_maskz): Ditto.
+	(vpdp<vpdotprodtype>_<mode>_maskz): New expander.
+	* config/i386/avx10_2-512mediaintrin.h: New file.
+	* config/i386/avx10_2mediaintrin.h: Ditto.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* config/riscv/riscv.cc (riscv_gen_unsigned_xmode_reg): Add new
+	func impl to gen xmode rtx reg from operand rtx.
+	(riscv_expand_ussub): Gen xmode reg for operand 1.
+	* config/riscv/riscv.md: Allow const_int for operand 1.
+
 2024-08-25  demin.han  <demin.han@starfivetech.com>
 
 	* config/riscv/vector.md: Add !FLOAT_MODE_P constraint.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 0f44912c6861..00e43a06f4d5 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240826
+20240828
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1c5d5335f87f..863e99bacebf 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,65 @@
+2024-08-27  Arsen Arsenović  <arsen@aarsen.me>
+
+	PR c++/109867
+	* coroutines.cc (expand_one_await_expression): Replace uses of
+	build_case_label with finish_case_label.
+	(build_actor_fn): Ditto.
+	(create_anon_label_with_ctx): Remove now-unused function.
+
+2024-08-27  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/105483
+	* parser.cc (cp_parser_expression_statement): Use %qE instead of
+	incorrect %<%T::%D%>. Skip to end of statement and return
+	error_mark_node in case of error.
+
+2024-08-27  Jonathan Wakely  <jwakely@redhat.com>
+
+	* cxxapi-data.csv: Add C++20 and C++23 names from <chrono>,
+	<format>, <generator>, <iterator>, <print>, and <stdfloat>.
+	Set cxx11 dialect for std::ignore in <tuple>. Uncomment
+	atomic_flag functions from <atomic>.
+	* std-name-hint.gperf: Regenerate.
+	* std-name-hint.h: Regenerate.
+
+2024-08-27  Jonathan Wakely  <jwakely@redhat.com>
+
+	* gen-cxxapi-file.py: Fix copyright dates in generated output.
+
+2024-08-27  Iain Sandoe  <iain@sandoe.co.uk>
+
+	PR c++/116482
+	* coroutines.cc
+	(coro_build_actor_or_destroy_function): Make the parameter
+	decls DECL_ARTIFICIAL.
+
+2024-08-27  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/99243
+	* module.cc (module_state::set_filename): Handle repeated calls
+	to 'set_filename' as long as the CMI path matches.
+	(maybe_translate_include): Adjust comment.
+
+2024-08-27  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/110980
+	* module.cc (maybe_translate_include): Clean up.
+
+2024-08-26  Arsen Arsenović  <arsen@aarsen.me>
+
+	PR c++/113457
+	* coroutines.cc (struct coroutine_info): Add integer field
+	awaitable_number.  This is a counter used for assigning unique
+	names to awaitable temporaries.
+	(get_awaitable_var): Use awaitable_number from coroutine_info
+	instead of the static int awn.
+
+2024-08-26  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/115716
+	* pt.cc (maybe_process_partial_specialization): Call
+	redeclare_class_template.
+
 2024-08-24  Iain Sandoe  <iain@sandoe.co.uk>
 
 	PR c++/110635
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index be6a6c45ccb2..09fe55520294 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2024-08-27  Joseph Myers  <josmyers@redhat.com>
+
+	* zh_CN.po: Update.
+
 2024-08-05  Joseph Myers  <josmyers@redhat.com>
 
 	* fr.po: Update.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index aea0b9b561df..0250a0f025be 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,570 @@
+2024-08-27  Andi Kleen  <ak@gcc.gnu.org>
+
+	* gcc.dg/vect/vect-switch-ifcvt-1.c: Use vect_condition to
+	check if vectorizing conditions is supported for target.
+
+2024-08-27  Arsen Arsenović  <arsen@aarsen.me>
+
+	PR c++/109867
+	* g++.dg/coroutines/torture/pr109867.C: New test.
+
+2024-08-27  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/105483
+	* g++.dg/parse/error36.C: Adjust test expectation.
+	* g++.dg/tc1/dr147.C: Likewise.
+	* g++.old-deja/g++.other/typename1.C: Likewise.
+	* g++.dg/diagnostic/pr105483.C: New test.
+
+2024-08-27  Christophe Lyon  <christophe.lyon@linaro.org>
+
+	* gcc.target/arm/armv8_1m-fp64-move-1.c: Update expected code.
+
+2024-08-27  H.J. Lu  <hjl.tools@gmail.com>
+
+	* gcc.target/i386/pr116174.c: Add the missing */.
+
+2024-08-27  H.J. Lu  <hjl.tools@gmail.com>
+
+	* gcc.target/i386/pr116174.c: Use check-function-bodies.
+	* lib/scanasm.exp (parse_function_bodies): Append the line if
+	$up_config(matched) matches the line.
+	(check-function-bodies): Add an argument for matched.  Set
+	up_config(matched) to $matched.  Append the expected line without
+	$config(line_prefix) to function_regexp if it starts with ".L".
+
+2024-08-27  Torbjörn SVENSSON  <torbjorn.svensson@foss.st.com>
+
+	* gcc.dg/pr108757-1.c: Fixed dg-comment.
+	* gcc.dg/pr71071.c: Likewise.
+	* gcc.dg/tree-ssa/noreturn-1.c: Likewise.
+	* gcc.dg/tree-ssa/pr56727.c: Likewise.
+	* gcc.target/arc/loop-2.cpp: Likewise.
+	* gcc.target/arc/loop-3.c: Likewise.
+	* gcc.target/arc/pr9001107555.c: Likewise.
+	* gcc.target/arm/armv8_1m-fp16-move-1.c: Likewise.
+	* gcc.target/arm/armv8_1m-fp32-move-1.c: Likewise.
+	* gcc.target/arm/armv8_1m-fp64-move-1.c: Likewise.
+	* gcc.target/i386/amxint8-asmatt-1.c: Likewise.
+	* gcc.target/i386/amxint8-asmintel-1.c: Likewise.
+	* gcc.target/i386/avx512bw-vpermt2w-1.c: Likewise.
+	* gcc.target/i386/avx512vbmi-vpermt2b-1.c: Likewise.
+	* gcc.target/i386/endbr_immediate.c: Likewise.
+	* gcc.target/i386/pr96539.c: Likewise.
+	* gcc.target/i386/sse2-pr98461-2.c: Likewise.
+	* gcc.target/m68k/pr39726.c: Likewise.
+	* gcc.target/m68k/pr52076-1.c: Likewise.
+	* gcc.target/m68k/pr52076-2.c: Likewise.
+	* gcc.target/nvptx/v2si-vec-set-extract.c: Likewise.
+
+2024-08-27  Thomas Schwinge  <tschwinge@baylibre.com>
+
+	* gcc.dg/signbit-5.c: Un-XFAIL for GCN.
+
+2024-08-27  Iain Sandoe  <iain@sandoe.co.uk>
+
+	PR c++/116482
+	* g++.dg/coroutines/pr116482.C: New test.
+
+2024-08-27  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116460
+	* g++.dg/torture/pr116460.C: New testcase.
+
+2024-08-27  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+	PR other/116462
+	* gcc.dg/debug/dwarf2/inline7.c: Switch to -Os optimization.
+
+2024-08-27  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/sat_arith.h: Add test helper macros.
+	* gcc.target/riscv/sat_u_sub_imm-5.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-5_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-5_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-6.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-6_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-6_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-7.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-7_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-7_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-8.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-5.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-6.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-7.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-8.c: New test.
+
+2024-08-27  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/99243
+	* g++.dg/modules/map-2.C: Prune additional fatal error message.
+	* g++.dg/modules/inc-xlate-4_a.H: New test.
+	* g++.dg/modules/inc-xlate-4_b.H: New test.
+	* g++.dg/modules/inc-xlate-4_c.H: New test.
+
+2024-08-27  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/110980
+	* g++.dg/modules/inc-xlate-2_a.H: New test.
+	* g++.dg/modules/inc-xlate-2_b.H: New test.
+	* g++.dg/modules/inc-xlate-3.h: New test.
+	* g++.dg/modules/inc-xlate-3_a.H: New test.
+
+2024-08-26  Arsen Arsenović  <arsen@aarsen.me>
+
+	PR c++/113457
+	* g++.dg/coroutines/pr113457-1.C: New test.
+	* g++.dg/coroutines/pr113457.C: New test.
+
+2024-08-26  Arsen Arsenović  <arsen@aarsen.me>
+
+	* g++.dg/coroutines/pr115858.C: New test.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* gcc.dg/plugin/diagnostic_group_plugin.c: Include
+	"diagnostic-format-text.h".
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* gcc.dg/plugin/diagnostic-test-paths-multithreaded-inline-events.c:
+	Update expected output.
+	* gcc.dg/plugin/diagnostic-test-paths-multithreaded-sarif.py:
+	Likewise.
+	* gcc.dg/plugin/diagnostic-test-paths-multithreaded-separate-events.c:
+	Likewise.
+	* gcc.dg/plugin/diagnostic_plugin_test_paths.c
+	(test_diagnostic_path::add_event_2): Return the id of the added
+	event.
+	(test_diagnostic_path::add_event_2_with_event_id): New.
+	(example_4): Add event IDs to the deadlock messages indicating
+	where the locks where acquired.
+
+2024-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+	* gcc.dg/plugin/diagnostic-test-metadata-sarif.c: New test,
+	based on diagnostic-test-metadata.c.
+	* gcc.dg/plugin/diagnostic-test-metadata-sarif.py: New script.
+	* gcc.dg/plugin/diagnostic-test-paths-multithreaded-sarif.c:
+	Replace scan-sarif-file directives with run-sarif-pytest, to
+	run...
+	* gcc.dg/plugin/diagnostic-test-paths-multithreaded-sarif.py:
+	...this new test.
+	* gcc.dg/plugin/plugin.exp (plugin_test_list): Add
+	diagnostic-test-metadata-sarif.c.
+	* gcc.dg/sarif-output/sarif.py: Move to...
+	* lib/sarif.py: ...here.
+	* lib/scansarif.exp (run-sarif-pytest): Prepend "lib" to
+	PYTHONPATH before running python scripts.
+
+2024-08-26  Simon Martin  <simon@nasilyan.com>
+
+	PR c++/115716
+	* g++.dg/template/spec42.C: New test.
+	* g++.dg/template/spec43.C: New test.
+
+2024-08-26  Xi Ruoyao  <xry111@xry111.site>
+	    Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116348
+	* gcc.c-torture/compile/pr116438.c: New test.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/sat_arith.h: Add test helper macros.
+	* gcc.target/riscv/sat_u_add_imm-11.c: Adjust test case for imm.
+	* gcc.target/riscv/sat_u_add_imm-12.c: Ditto.
+	* gcc.target/riscv/sat_u_add_imm-15.c: Ditto.
+	* gcc.target/riscv/sat_u_add_imm-16.c: Ditto.
+	* gcc.target/riscv/sat_u_add_imm_type_check-1.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-10.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-11.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-12.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-13.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-14.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-15.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-16.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-17.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-18.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-19.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-2.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-20.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-21.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-22.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-23.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-24.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-25.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-26.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-27.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-28.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-29.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-3.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-30.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-31.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-32.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-33.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-34.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-35.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-36.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-37.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-38.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-39.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-4.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-40.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-41.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-42.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-43.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-44.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-45.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-46.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-47.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-48.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-49.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-5.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-50.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-51.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-52.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-6.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-7.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-8.c: New test.
+	* gcc.target/riscv/sat_u_add_imm_type_check-9.c: New test.
+
+2024-08-26  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR middle-end/116480
+	* gcc.dg/torture/pr116480-1.c: New test.
+	* gcc.dg/torture/pr116480-2.c: New test.
+
+2024-08-26  Haochen Jiang  <haochen.jiang@intel.com>
+
+	* gcc.target/i386/avx10_2-512-convert-1.c: Add tests for new
+	intrin.
+	* gcc.target/i386/avx10_2-convert-1.c: Ditto.
+
+2024-08-26  Zhang, Jun  <jun.zhang@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+	    Hongtao Liu  <hongtao.liu@intel.com>
+
+	* gcc.target/i386/avx10_2-compare-1.c: New test.
+
+2024-08-26  Zhang, Jun  <jun.zhang@intel.com>
+
+	* gcc.target/i386/avx10_2-vmovd-1.c: New test.
+	* gcc.target/i386/avx10_2-vmovd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vmovw-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vmovw-2.c: Ditto.
+
+2024-08-26  Mo, Zewei  <zewei.mo@intel.com>
+	    Hu, Lin1  <lin1.hu@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+
+	* gcc.target/i386/avx-1.c: Add macros.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx512f-helper.h: Add helper function.
+	* gcc.target/i386/avx10-minmax-helper.h: New helper file.
+	* gcc.target/i386/avx10_2-512-minmax-1.c: New test.
+	* gcc.target/i386/avx10_2-512-vminmaxnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vminmaxpd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vminmaxph-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vminmaxps-2.c: Ditto.
+	* gcc.target/i386/avx10_2-minmax-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxsd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxsh-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxss-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxpd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxph-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminmaxps-2.c: Ditto.
+
+2024-08-26  Hu, Lin1  <lin1.hu@intel.com>
+
+	* gcc.target/i386/avx-1.c: Add macros.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx10_2-satcvt-1.c: Add test.
+	* gcc.target/i386/avx10_2-512-satcvt-1.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttpd2dqs-2.c: New test.
+	* gcc.target/i386/avx10_2-512-vcvttpd2qqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttpd2udqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttpd2uqqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2dqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2qqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2udqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2uqqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttpd2dqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttpd2qqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttpd2udqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttpd2uqqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2dqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2qqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2udqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2uqqs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttsd2sis-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttsd2usis-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttss2sis-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttss2usis-2.c: Ditto.
+
+2024-08-26  Hu, Lin1  <lin1.hu@intel.com>
+
+	* gcc.target/i386/avx-1.c: Add macros.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx512f-helper.h: Add new test macro.
+	* gcc.target/i386/m512-check.h: Add new type.
+	* gcc.target/i386/avx10_2-512-satcvt-1.c: New test.
+	* gcc.target/i386/avx10_2-512-vcvtnebf162ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtnebf162iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtph2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtph2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtps2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtps2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttnebf162ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttnebf162iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttph2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvttps2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-satcvt-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtnebf162ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtnebf162iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtph2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtph2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtps2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttnebf162ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttnebf162iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttph2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttph2iubs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2ibs-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvttps2iubs-2.c: Ditto.
+
+2024-08-26  konglin1  <lingling.kong@intel.com>
+	    Levy Hsu  <admin@levyhsu.com>
+
+	* gcc.target/i386/avx10-check.h: Add AVX10_SCALAR.
+	* gcc.target/i386/avx10-helper.h: Add helper functions.
+	* gcc.target/i386/avx10_2-512-bf16-1.c: Add new tests.
+	* gcc.target/i386/avx10_2-bf16-1.c: Ditto.
+	* gcc.target/i386/avx-1.c: Add macros.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcmppbf16-2.c: New test.
+	* gcc.target/i386/avx10_2-512-vfpclasspbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vgetexppbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vgetmantpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vrcppbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vreducenepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vrndscalenepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vrsqrtpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vsqrtnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcmppbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcomsbf16-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vcomsbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vfpclasspbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vgetexppbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vgetmantpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vrcppbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vreducenepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vrndscalenepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vrsqrtpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vsqrtnepbf16-2.c: Ditto.
+
+2024-08-26  konglin1  <lingling.kong@intel.com>
+	    Levy Hsu  <admin@levyhsu.com>
+
+	* gcc.target/i386/avx512f-helper.h: Add MAKE_MASK_MERGE and MAKE_MASK_ZERO
+	for bf16_uw.
+	* gcc.target/i386/m512-check.h: Add union512bf16_uw, union256bf16_uw,
+	union128bf16_uw and CHECK_EXP for them.
+	* gcc.target/i386/avx10-helper.h: New file.
+	* gcc.target/i386/avx10_2-512-bf16-1.c: New test.
+	* gcc.target/i386/avx10_2-512-vaddnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vdivnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vfmaddXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vfmsubXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vfnmaddXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vfnmsubXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vmaxpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vminpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vscalefpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vsubnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-bf16-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vaddnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vdivnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vfmaddXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vfmsubXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vfnmaddXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vfnmsubXXXnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vmaxpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vminpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vmulnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vscalefpbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vsubnepbf16-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vmulnepbf16-2.c: New file.
+
+2024-08-26  Levy Hsu  <admin@levyhsu.com>
+	    Kong Lingling  <lingling.kong@intel.com>
+
+	* gcc.target/i386/avx-1.c: Add macros for const.
+	* gcc.target/i386/avx-2.c: Ditto.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx10_2-512-convert-1.c: New test.
+	* gcc.target/i386/avx10_2-512-vcvt2ps2phx-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtbiasph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtbiasph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtbiasph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtbiasph2hf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvthf82ph-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtne2ph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtne2ph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtne2ph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtne2ph2hf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtneph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtneph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtneph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vcvtneph2hf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-convert-1.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvt2ps2phx-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtbiasph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtbiasph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtbiasph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtbiasph2hf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvthf82ph-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtne2ph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtne2ph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtne2ph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtne2ph2hf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtneph2bf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtneph2bf8s-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtneph2hf8-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vcvtneph2hf8s-2.c: Ditto.
+	* gcc.target/i386/fp8-helper.h: New helper file.
+
+2024-08-26  Haochen Jiang  <haochen.jiang@intel.com>
+	    Hongyu Wang  <hongyu.wang@intel.com>
+
+	* gcc.target/i386/avxvnniint16-1.c: Add new macro test.
+	* gcc.target/i386/avx-1.c: Ditto.
+	* gcc.target/i386/sse-13.c: Ditto.
+	* gcc.target/i386/sse-14.c: Ditto.
+	* gcc.target/i386/sse-22.c: Ditto.
+	* gcc.target/i386/sse-23.c: Ditto.
+	* gcc.target/i386/avx10_2-512-media-1.c: Add test.
+	* gcc.target/i386/avx10_2-media-1.c: Ditto.
+	* gcc.target/i386/avxvnniint16-builtin.c: New test.
+	* gcc.target/i386/avx10_2-512-vdpphps-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vmpsadbw-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwsud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwsuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwusd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwusds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwuud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpwuuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-builtin-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vdpphps-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vmpsadbw-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwsud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwsuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwusd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwusds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwuud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpwuuds-2.c: Ditto.
+
+2024-08-26  Hongyu Wang  <hongyu.wang@intel.com>
+	    Haochen Jiang  <haochen.jiang@intel.com>
+
+	* gcc.target/i386/avx512f-helper.h: Reuse AVX512F macros
+	for AVX10.
+	* gcc.target/i386/funcspec-56.inc: Add new target attribute.
+	* lib/target-supports.exp
+	(check_effective_target_avx10_2): New.
+	(check_effective_target_avx10_2_512): Ditto.
+	* gcc.target/i386/avx10-check.h: New test file.
+	* gcc.target/i386/avx10-helper.h: Ditto.
+	* gcc.target/i386/avx10_2-builtin-1.c: Ditto.
+	* gcc.target/i386/avx10_2-512-media-1.c: Ditto.
+	* gcc.target/i386/avx10_2-media-1.c: Ditto..
+	* gcc.target/i386/avxvnniint8-builtin.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbssd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbssds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbsud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbsuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbuud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-512-vpdpbuuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbssd-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbssds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbsud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbsuds-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbuud-2.c: Ditto.
+	* gcc.target/i386/avx10_2-vpdpbuuds-2.c: Ditto.
+	* gcc.target/i386/avx10-os-support.h: New file.
+
+2024-08-26  Haochen Jiang  <haochen.jiang@intel.com>
+
+	* gcc.target/i386/m512-check.h: Wrap the function define with
+	correct vector size.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/sat_arith.h: Add test helper macro.
+	* gcc.target/riscv/sat_u_sub_imm-1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-1_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-1_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-2_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-2_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-3.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-3_1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-3_2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-4.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-1.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-2.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-3.c: New test.
+	* gcc.target/riscv/sat_u_sub_imm-run-4.c: New test.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/rvv/autovec/vec_sat_arith.h: Add test helper macros.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-19.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-20.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-21.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-22.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-23.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-24.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-19.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-20.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-21.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-22.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-23.c: New test.
+	* gcc.target/riscv/rvv/autovec/unop/vec_sat_u_trunc-run-24.c: New test.
+
+2024-08-26  Pan Li  <pan2.li@intel.com>
+
+	* gcc.target/riscv/sat_arith.h: Add test helper macros.
+	* gcc.target/riscv/sat_u_trunc-19.c: New test.
+	* gcc.target/riscv/sat_u_trunc-20.c: New test.
+	* gcc.target/riscv/sat_u_trunc-21.c: New test.
+	* gcc.target/riscv/sat_u_trunc-22.c: New test.
+	* gcc.target/riscv/sat_u_trunc-23.c: New test.
+	* gcc.target/riscv/sat_u_trunc-24.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-19.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-20.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-21.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-22.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-23.c: New test.
+	* gcc.target/riscv/sat_u_trunc-run-24.c: New test.
+
 2024-08-25  demin.han  <demin.han@starfivetech.com>
 
 	* gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv-nofm.c: Fix test.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index a0f450d64c25..c572fefaa4ff 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,10 @@
+2024-08-26  Alexander Monakov  <amonakov@ispras.ru>
+
+	* internal.h (CPP_BUFFER_PADDING): New macro; use it ...
+	* charset.cc (_cpp_convert_input): ...here, and ...
+	* files.cc (read_file_guts): ...here, and ...
+	* lex.cc (search_line_ssse3): here.
+
 2024-08-23  Alexander Monakov  <amonakov@ispras.ru>
 
 	PR preprocessor/116458
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7c24757c6ee3..1013fdbd0eac 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2024-08-27  YunQiang Su  <syq@gcc.gnu.org>
+
+	* config/mips/lib1funcs.S: Includes mips16.S.
+
 2024-06-10  Jan Beulich  <jbeulich@suse.com>
 
 	* config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 48309c25e80b..08875733aec3 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,12 @@
+2024-08-27  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/115098
+	* python/libstdcxx/v6/printers.py (StdBitReferencePrinter): Add
+	comment.
+	* testsuite/libstdc++-prettyprinters/simple.cc: Do not default
+	construct std::vector<bool>::reference.
+	* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
+
 2024-08-23  Jonathan Wakely  <jwakely@redhat.com>
 
 	* doc/xml/manual/documentation_hacking.xml: Update minimum
-- 
GitLab