https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117575
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by LuluCheng <[email protected]>: https://gcc.gnu.org/g:5a1680b05d6d91feeb9767d1f2fc713a6cd9a0d8 commit r15-10706-g5a1680b05d6d91feeb9767d1f2fc713a6cd9a0d8 Author: Lulu Cheng <[email protected]> Date: Sat Jan 17 15:12:46 2026 +0800 LoongArch: Fix bug117575. In the template "vec_set<mode>", a call is made to "lasx_xvinsve0_<lasxfmt_f>_scalar", but there is an issue due to the different ranges of operand1 between the two templates. The range of operand1 in the template "lasx_xvinsve0_<lasxfmt_f>_scalar" is now set to be the same as that in "vec_set<mode>". PR target/117575 gcc/ChangeLog: * config/loongarch/lasx.md: Modify the range of operand1. gcc/testsuite/ChangeLog: * g++.target/loongarch/pr117575.C: New test. (cherry picked from commit 27f040591aeb611030c990944731f84485887f97)
