https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-11-06 Ever confirmed|0 |1 Keywords| |needs-bisection Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ccp3 does: Visiting statement: # RANGE [irange] short int [1909, 1909][31001, 31001] NONZERO 0x7fff _19 = (short intD.25) _18; which is likely CONSTANT Match-and-simplified (short int) _18 to 1909 Lattice value changed to CONSTANT 1909. Adding SSA edges to worklist. marking stmt to be not simulated again That is due to rhs side of the divisor being a constant ... Someone else has to look into why it is one.