On 8/11/23 20:30, Juzhe-Zhong wrote:
This patch fixes bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110994

This is caused VLS modes incorrect codes int register allocation.

The original case trigger the ICE is fortran code but I can reproduce
with a C code.

         PR target/110994

gcc/ChangeLog:

         * config/riscv/riscv-opts.h (TARGET_VECTOR_VLS): Add TARGET_VETOR.

gcc/testsuite/ChangeLog:

         * gcc.target/riscv/rvv/autovec/vls/pr110994.c: New test.
OK
jeff

Reply via email to