https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113738
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> --- This was fixed on the trunk by Juzhe a while back: commit d29136ad3282905145e24d7ec10b6efe4ab5d2f1 Author: Juzhe-Zhong <juzhe.zh...@rivai.ai> Date: Tue Feb 6 07:12:24 2024 +0800 RISC-V: Fix infinite compilation of VSETVL PASS This patch fixes issue reported by Jeff. Testing is running. Ok for trunk if I passed the testing with no regression ? gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (pre_vsetvl::emit_vsetvl): Fix inifinite compilation. (pre_vsetvl::remove_vsetvl_pre_insns): Ditto.