[Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 08:03:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, we could also optimize pow (x, 2) to x * x at expansion time.


More information about the Gcc-bugs mailing list