https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90839
Andrew Carlotti <acarlotti at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acarlotti at gcc dot gnu.org --- Comment #5 from Andrew Carlotti <acarlotti at gcc dot gnu.org> --- This pattern is recognized for unsigned induction variables as of r13-5193-gd347fbf774dc50. For signed induction variables the loop might be infinite (if the induction variable is negative), so the code in tree-ssa-loop-niter:is_rshift_by_1() currently ignores this case.