https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |110252 Status|UNCONFIRMED |NEW Keywords|needs-bisection |missed-optimization Ever confirmed|0 |1 Last reconfirmed| |2023-06-26 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is basically a dup of bug 110252 as the range of iftmp.7_27 is flow sensitive here. BUT there is a missed optimization before hand though: # RANGE [irange] unsigned int [0, 0] NONZERO 0x0 iftmp.7_27 = (unsigned intD.9) _7; This shows up in dom3. So keeping it open for that case too ... Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110252 [Bug 110252] [14 Regression] Wrong code at -O2/3/s on x86_64-linux-gnu