+2025-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * MAINTAINERS (Various Maintainers): Add myself for the vectorizer.
+
+2025-10-20 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * .forgejo/workflows/sanity-checks.yaml: New file.
+
+2025-10-20 Richard Biener <rguenther@suse.de>
+
+ * MAINTAINERS (auto-vectorizer): Change attribution to
+ vectorizer (+ tree-if-conv).
+
2025-10-15 Basil Milanich <bmilanich@gmail.com>
* Makefile.tpl (distclean): Remove extraenous semicolon.
+2025-10-20 Josef Melcr <jmelcr02@gmail.com>
+
+ * ipa-fnsummary.cc (redirect_to_unreachable): Purge callback
+ edges when redirecting the carrying edge.
+ (analyze_function_body): Fix typo.
+
+2025-10-20 Svante Signell <svante.signell@gmail.com>
+
+ PR go/104290
+ * config/gnu.h (OPTION_GLIBC_P, OPTION_GLIBC): Define.
+
+2025-10-20 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
+
+ * config/xtensa/constraints.md (R, U):
+ Change define_memory_constraint to define_special_memory_constraint.
+ * config/xtensa/xtensa.md
+ (movsi_internal, movhi_internal, movqi_internal):
+ Rearrange their alternatives in the order of constant assignment, register-
+ register move, load, store and special. And also consolidate overlapping
+ alternatives.
+ (movsf_internal): Rearrange the alternatives as above, and remove the '^'
+ alternative character which is no longer needed.
+
+2025-10-20 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
+
+ * config/xtensa/xtensa.cc
+ (constantsynth_method_const16): New.
+ (constantsynth_methods): Append constantsynth_method_const16().
+ (constantsynth_info): Add cost calculation for full-word constant
+ assignment when TARGET_CONST16 is enabled.
+ (constantsynth_pass1): Change it so that it works regardless of
+ TARGET_CONST16.
+ * config/xtensa/xtensa.md (*xtensa_const16): New.
+
+2025-10-20 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
+
+ * config/xtensa/xtensa.cc (do_largeconst):
+ Change split_DI_SF_DF_const() to be called unconditionally.
+
+2025-10-20 Olivier Hainque <hainque@adacore.com>
+
+ * config.gcc (powerpc*-wrs-vxworks7r*): Add linux-protos.h
+ to tm_p_file.
+
+2025-10-20 Olivier Hainque <hainque@adacore.com>
+
+ * config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): Only
+ builtin_define TOOL and TOOL_FAMILY for !TARGET_VXWORKS7.
+ Augment comment on VXWORKS_PERSONALITY.
+ * config/vxworks/vxworks-predef.h: Infer TOOL and TOOL_FAMILY
+ from the VSB autoconf.h when we have one, determined by the presence
+ of a _VSB_CONFIG_FILE definition.
+
+2025-10-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * config/aarch64/aarch64-elf.h (ASM_SPEC): Update the macro.
+ * config/aarch64/aarch64.cc (aarch64_valid_sysreg_name_p):
+ Add feature check condition.
+ (aarch64_retrieve_sysreg): Likewise.
+ * config/aarch64/aarch64.opt (menable-sysreg-checking):
+ Define new flag.
+ * doc/invoke.texi (menable-sysreg-checking): Document new flag.
+
+2025-10-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121631
+ * tree-vect-loop.cc (vect_create_epilog_for_reduction):
+ When the reduction operation invokes UB on signed overflow
+ make sure to perform operations with it on an unsigned type.
+
+2025-10-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101639
+ PR tree-optimization/103495
+ * tree-vectorizer.h (vect_reduc_info_s): Add reduc_type_for_mask.
+ (VECT_REDUC_INFO_VECTYPE_FOR_MASK): New.
+ * tree-vect-patterns.cc (vect_determine_mask_precision):
+ Return whether the mask precision changed.
+ (vect_determine_precisions): Iterate mask precision computation
+ for loop vectorization.
+ * tree-vect-loop.cc (get_initial_defs_for_reduction): Properly
+ convert non-mask initial values to a mask initial def for
+ the reduction.
+ (sbool_reduction_fn_for_fn): New function.
+ (vect_create_epilog_for_reduction): For a mask input convert
+ it to the vector type analysis decided to use. Use a regular
+ conversion for the final convert to the scalar code type.
+ (vectorizable_reduction): Support mask reductions. Verify
+ we can compute a data vector from the mask result or a direct
+ maks reduction is provided by the target.
+
+2025-10-20 Richard Biener <rguenther@suse.de>
+
+ * doc/md.texi (reduc_sbool_{and,ior,xor}_scal_<mode>): Document.
+ * optabs.def (reduc_sbool_and_scal_optab,
+ reduc_sbool_ior_scal_optab, reduc_sbool_xor_scal_optab): New.
+ * internal-fn.def (REDUC_SBOOL_AND, REDUC_SBOOL_IOR,
+ REDUC_SBOO_XOR): Likewise.
+ * internal-fn.cc (reduc_sbool_direct): New initializer.
+ (expand_reduc_sbool_optab_fn): New expander.
+ (direct_reduc_sbool_optab_supported_p): New.
+
+2025-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/99930
+ PR target/122323
+ * config/i386/i386-expand.cc (ix86_expand_copysign): Swap
+ operands[1] with operands[2]. Optimize copysign (x, const_double)
+ instead of copysign (const_double, x).
+ * config/i386/i386.md (copysign<mode>3): Swap constraints for
+ operands[1] and operands[2].
+
2025-10-19 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.cc (avr_nonzero_bits_lsr_operands_p): Also
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/102078
+ * affinity.c (__gnat_set_affinity_mask): Add U qualifier.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/32318
+ * libgnat/g-catiio.adb (Image_Helper) <'c'>: Fix comment.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/68179
+ * exp_ch3.adb (Expand_Freeze_Array_Type): Build an initialization
+ procedure for a type derived from String declared with the aspect
+ Default_Aspect_Component_Value.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/52319
+ * sem_ch7.adb (Uninstall_Declarations): Use direct test on Nkind
+ to spot operators.
+ * sem_ch8.adb (End_Use_Package): Also test the Etype of operators
+ to spot those which are primitive operators of use-visible types.
+
+2025-10-20 Nicolas Boulenguez <nicolas@debian.org>
+
+ PR ada/87777
+ * gnatchop.adb: Add with clause for Osint.
+ (Locate_Executable): Delete.
+ (Gnatchop): Use Osint.Program_Name and Locate_Exec_On_Path instead
+ of Locate_Executable to locate GCC's driver executable.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/107536
+ * exp_ch2.adb (Expand_Renaming): Mark the entity as referenced.
+
2025-10-17 Eric Botcazou <ebotcazou@adacore.com>
PR ada/122295
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ * docs/topics/compatibility.rst (LIBGCCJIT_ABI_37): New ABI tag.
+ * docs/topics/types.rst: Document
+ gcc_jit_context_new_array_type_u64.
+ * jit-playback.cc (new_array_type): Change num_elements type to
+ uint64_t.
+ * jit-playback.h (new_array_type): Change num_elements type to
+ uint64_t.
+ * jit-recording.cc (recording::context::new_array_type): Change
+ num_elements type to uint64_t.
+ (recording::array_type::make_debug_string): Use uint64_t
+ format.
+ (recording::array_type::write_reproducer): Switch to
+ gcc_jit_context_new_array_type_u64.
+ * jit-recording.h (class array_type): Change num_elements type
+ to uint64_t.
+ (new_array_type): Change num_elements type to uint64_t.
+ (num_elements): Change return type to uint64_t.
+ * libgccjit.cc (gcc_jit_context_new_array_type_u64):
+ New function.
+ * libgccjit.h (gcc_jit_context_new_array_type_u64):
+ New function.
+ * libgccjit.exports: New function.
+ * libgccjit.map: New function.
+
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ * jit-playback.cc (add_error, add_error_va): Send DK_ERROR to
+ add_error_va.
+ (add_diagnostic): Call add_diagnostic instead of add_error.
+ * jit-recording.cc (DEFINE_DIAGNOSTIC_KIND): New define.
+ (recording::context::add_diagnostic): New function.
+ (recording::context::add_error): Send DK_ERROR to add_error_va.
+ (recording::context::add_error_va): New parameter diagnostic_kind.
+ * jit-recording.h (add_diagnostic): New function.
+ (add_error_va): New parameter diagnostic_kind.
+ * libgccjit.cc (jit_error): Send DK_ERROR to add_error_va.
+
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ PR jit/105827
+ * dummy-frontend.cc: Fix lang_tree_node.
+ * jit-common.h: New function (jit_tree_chain_next) used by
+ lang_tree_node.
+
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ PR jit/117886
+ * dummy-frontend.cc: Support some missing types.
+ * jit-playback.h (get_abort_on_unsupported_target_builtin): New
+ function.
+ * jit-recording.cc (get_abort_on_unsupported_target_builtin,
+ set_abort_on_unsupported_target_builtin): New functions.
+ * jit-recording.h (get_abort_on_unsupported_target_builtin,
+ set_abort_on_unsupported_target_builtin): New functions.
+ (m_abort_on_unsupported_target_builtin): New field.
+ * libgccjit.cc
+ (gcc_jit_context_set_abort_on_unsupported_target_builtin): New
+ function.
+ * libgccjit.h
+ (gcc_jit_context_set_abort_on_unsupported_target_builtin): New
+ function.
+ * libgccjit.exports (LIBGCCJIT_ABI_36): New ABI tag.
+ * libgccjit.map (LIBGCCJIT_ABI_36): New ABI tag.
+ * docs/topics/compatibility.rst (LIBGCCJIT_ABI_36): New ABI tag.
+ * docs/topics/contexts.rst: Document new function.
+
2025-10-08 Antoni Boucher <bouanto@zoho.com>
PR jit/112466
+2025-10-20 Jeff Law <jlaw@ventanamicro.com>
+
+ * gcc.target/riscv/rvv/autovec/reduc/reduc-8.c: Adjust expected output.
+
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ * jit.dg/all-non-failing-tests.h: Add test-arrays-u64.c.
+ * jit.dg/test-arrays-u64.c: New test.
+
+2025-10-20 Josef Melcr <jmelcr02@gmail.com>
+
+ * gcc.dg/ipa/ipcp-cb-spec1.c: Moved to libgomp/testsuite/libgomp.c/.
+ * gcc.dg/ipa/ipcp-cb-spec2.c: Likewise.
+ * gcc.dg/ipa/ipcp-cb1.c: Likewise.
+
+2025-10-20 Antoni Boucher <bouanto@zoho.com>
+
+ * jit.dg/test-error-array-bounds.c: Fix test.
+
+2025-10-20 Thomas Schwinge <tschwinge@baylibre.com>
+
+ PR c++/114457
+ * c-c++-common/goacc/kernels-decompose-pr100280-1.c: Skip for
+ c++26 until PR121975 is fixed.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/component_value1.adb: New test.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/use_type3.adb: New test.
+
+2025-10-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * gcc.target/aarch64/acle/asm-inlined-sysreg-1.c: New test.
+ * gcc.target/aarch64/acle/asm-inlined-sysreg-2.c: Likewise.
+ * gcc.target/aarch64/acle/rwsr-gated-1.c: Likewise.
+ * gcc.target/aarch64/acle/rwsr-gated-2.c: Likewise.
+ * lib/target-supports.exp
+ (check_effective_target_aarch64_sysreg_guarding_ok): Check
+ assembler support of -menable-sysreg-checking flag.
+
+2025-10-20 Jeff Law <jlaw@ventanamicro.com>
+
+ * gcc.target/riscv/rvv/vsetvl/imm_switch-6.c: Skip scan-asm test for -O1 too.
+ * gcc.target/riscv/rvv/vsetvl/imm_switch-7.c: Likewise.
+ * gcc.target/riscv/shrink-wrap-1.c: Likewise. Skip for -Og as well.
+ * gcc.target/riscv/xandes/xandesperf-1.c: Adjust expected output.
+
+2025-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/renaming18.adb: New test.
+
+2025-10-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101639
+ PR tree-optimization/103495
+ * gcc.dg/vect/vect-reduc-bool-1.c: New testcase.
+ * gcc.dg/vect/vect-reduc-bool-2.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-3.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-4.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-5.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-6.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-7.c: Likewise.
+ * gcc.dg/vect/vect-reduc-bool-8.c: Likewise.
+
+2025-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/99930
+ PR target/122323
+ * gcc.target/i386/builtin-copysign-2.c: New test.
+ * gcc.target/i386/builtin-copysign-3.c: Likewise.
+ * gcc.target/i386/builtin-copysign-4.c: Likewise.
+ * gcc.target/i386/builtin-copysign-5.c: Likewise.
+ * gcc.target/i386/builtin-copysign-6.c: Likewise.
+ * gcc.target/i386/builtin-copysign-7.c: Likewise.
+ * gcc.target/i386/builtin-copysign-8a.c: Likewise.
+ * gcc.target/i386/builtin-copysign-8b.c: Likewise.
+ * gcc.target/i386/builtin-fabs-1.c: Likewise.
+ * gcc.target/i386/builtin-fabs-2.c: Likewise.
+
2025-10-19 Georg-Johann Lay <avr@gjlay.de>
PR testsuite/122212
+2025-10-20 Olivier Hainque <hainque@adacore.com>
+ Ashley Gay <gay@adacore.com>
+
+ * config/gthr-vxworks.h: Include stdatomic.h and prevent indirect
+ inclusion of contents from the system version of that header.
+
+2025-10-20 Olivier Hainque <hainque@adacore.com>
+
+ * config/gthr-vxworks-thread.c (__init_gthread_tcb): Make static.
+ (__delete_gthread_tcb): Likewise.
+ (__task_wrapper): Likewise.
+ (__gthread_create): Convert __task_wrapper to (void *) before going
+ to (FUNCPTR).
+ * config/gthr-vxworks-tls.c (tls_delete_hook): Accommodate prototype
+ variations between kernel and rtp. Return STATUS.
+
+2025-10-20 Olivier Hainque <hainque@adacore.com>
+
+ * config/t-vxworks: -include vxworks-predef.h explicitly, as the
+ automatic inclusion is disabled by -nostdinc.
+
2025-10-07 H.J. Lu <hjl.tools@gmail.com>
PR target/120691
+2025-10-20 Josef Melcr <jmelcr02@gmail.com>
+
+ * testsuite/libgomp.c/ipcp-cb-spec1.c: Moved from
+ gcc/testsuite/gcc.dg/ipa/.
+ * testsuite/libgomp.c/ipcp-cb-spec2.c: Likewise.
+ * testsuite/libgomp.c/ipcp-cb1.c: Likewise.
+
+2025-10-20 Thomas Schwinge <tschwinge@baylibre.com>
+
+ PR c++/114457
+ PR c++/122268
+ PR c++/120450
+ * testsuite/libgomp.c++/target-flex-101.C: XFAIL GCN, nvptx
+ offloading compilation.
+ * testsuite/libgomp.c++/target-std__flat_map-concurrent.C:
+ Un-XFAIL GCN offloading compilation.
+ * testsuite/libgomp.c++/target-std__flat_multimap-concurrent.C:
+ Likewise.
+
2025-10-16 Tobias Burnus <tburnus@baylibre.com>
* testsuite/libgomp.c/declare-variant-4-gfx10-3-generic.c: Add
+2025-10-20 Yuao Ma <c8ef@outlook.com>
+
+ * include/bits/version.def: Add ranges_indices FTM.
+ * include/bits/version.h: Regenerate.
+ * include/std/ranges: Implement views::indices.
+ * testsuite/std/ranges/indices/1.cc: New test.
+
+2025-10-20 Tomasz KamiĆski <tkaminsk@redhat.com>
+
+ * include/bits/funcwrap.h (__polyfunc::__deduce_funcref):
+ Adjust signature produced for member object pointers.
+ * testsuite/20_util/function_ref/deduction.cc: Update tests.
+
+2025-10-20 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/122322
+ * configure.ac (with_newlib) <*-rtems*>: Remove
+ HAVE_SYS_IOCT4YL_H, _GLIBCXX_USE_LINK, _GLIBCXX_USE_READLINK,
+ _GLIBCXX_USE_SYMLINK, _GLIBCXX_USE_TRUNCATE, and
+ _GLIBCXX_USE_FDOPENDIR. Remove duplicates.
+ * configure: Regenerate.
+
2025-10-18 Iain Sandoe <iain@sandoe.co.uk>
PR c++/119060