https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88314
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Depends on| |96542 Resolution|--- |FIXED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed by the patch which fixed PR 96542. See PR 96542 on the details but basically subranges are done now for some cases. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96542 [Bug 96542] Failure to optimize simple code to a constant when storing part of the operation in a variable