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

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 28 07:56:00 GMT 2016


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Apr 28 07:55:33 2016
New Revision: 235545

URL: https://gcc.gnu.org/viewcvs?rev=235545&root=gcc&view=rev
Log:
2016-04-28  Richard Biener  <rguenther@suse.de>

        PR middle-end/70777
        * fold-const.c (fold_binary_loc): Remove x*x to pow(x,2.0)
        canonicalization.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


More information about the Gcc-bugs mailing list