https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92297
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 0 / 0 is undefined so having 0 / X simplify to 0 is a valid thing to do. What were you expecting?