https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127618
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <[email protected]>: https://gcc.gnu.org/g:090ff9c73c79ab83eea66a010887a0ca8002ec6e commit r17-4680-g090ff9c73c79ab83eea66a010887a0ca8002ec6e Author: Tamar Christina <[email protected]> Date: Sat Sep 26 17:18:43 2026 +0100 middle-end: fix self-test fails [PR127618] The recent self tests I added should use min_out_nelts instead of in_nelts.coeffs[0] otherwise for VLA we use the wrong encoding. This was missed before because I forgot that an aarch64 bootstrap by default is VLS not VLA. Bootstrapped Regtested on aarch64-none-linux-gnu --with-arch=armv9-a and no issues. also checked - rv64gc - rv64gcv_zvl128b - rv64gcv_zvl256b - rv64gcv_zvl512b gcc/ChangeLog: PR tree-optimization/127618 * fold-const.cc (test_vec_unpack_folding): Update tests
