[Bug middle-end/50195] [4.7 Regression] Linking time error with -fast-math -O0

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 10 14:27:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50195

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-10 14:25:43 UTC ---
Author: rguenth
Date: Mon Oct 10 14:25:34 2011
New Revision: 179752

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179752
Log:
2011-10-10  Richard Guenther  <rguenther@suse.de>

    PR middle-end/50195
    * fold-const.c (fold_binary_loc): Canonicalize x*x to pow (x, 2)
    only when optimizing.

    * gcc.dg/builtins-47.c: Optimize.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/builtins-47.c



More information about the Gcc-bugs mailing list