[Bug tree-optimization/62062] Missed optimization: write ptr reloaded in each loop iteration

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 18 06:33:26 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-10-18
          Component|middle-end                  |tree-optimization
     Ever confirmed|0                           |1

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
LLVM has added a new version of LIM which does store motion that can add an
aliasing check. as I said I am not sure if the aliasing check is always
profitable but at least in this case it seems it might be.


More information about the Gcc-bugs mailing list