https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95019
--- Comment #1 from bin cheng <amker at gcc dot gnu.org> --- Please provide the exact configuration/compilation command lines in bug report next time, which could save others' time to reproduce. Considering I didn't touch mips for years. As for this specific issue, note right now SCEV can't model C000005A1, thus DEST[C000005A1] and Src[C000005A1], so there is not much IVOPTs can do with its current shape. We did discuss about extending the pass to handle non-scev memory references in other PRs, but unless that is implemented, I see no easy fix here. Thanks