https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123925
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robin Dapp <[email protected]>: https://gcc.gnu.org/g:76053c32050f41b2c91718a07c480ddf732ac925 commit r16-7311-g76053c32050f41b2c91718a07c480ddf732ac925 Author: Robin Dapp <[email protected]> Date: Mon Feb 2 21:48:05 2026 +0100 forwprop: Handle nop-conversion for maybe_ident. [PR123925] The same handling for nop conversions we did in the !maybe_ident case is also necessary in for maybe_ident. This patch performs the necessary preprocessing before the if and unifies the nop-conversion handling. PR tree-optimization/123925 gcc/ChangeLog: * tree-ssa-forwprop.cc (simplify_vector_constructor): Add nop-conversion handling for maybe_ident. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr123925.c: New test. Signed-off-by: Robin Dapp <[email protected]>
