https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120522
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2025-06-04 Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. You can notice the failure even without a riscv machine because the code in .optimized is wrong. I am not 100% sure but it might be the vectorizer where it goes wrong. The vectorizer is definitely where the code gets even more divergent. And then somewhere things go wrong and code is deleted.