[Bug c/99693] -O2 not move 'if' checks on const data outside the loops

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 22 09:04:17 GMT 2021


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes, if you want to stick to -O2 use -funswitch-loops.


More information about the Gcc-bugs mailing list