This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49361] [4.7 Regression] Huge 470.lbm regression
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jun 2011 12:21:56 +0000
- Subject: [Bug tree-optimization/49361] [4.7 Regression] Huge 470.lbm regression
- Auto-submitted: auto-generated
- References: <bug-49361-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49361
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-10 12:19:32 UTC ---
Author: rguenth
Date: Fri Jun 10 12:19:30 2011
New Revision: 174903
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174903
Log:
2011-06-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49361
* fold-const.c (fold_binary_loc): Only fold x * x to pow (x, 2.0)
when not already in gimple form.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c