re PR tree-optimization/49361 (Huge 470.lbm regression)
authorRichard Guenther <rguenther@suse.de>
Fri, 10 Jun 2011 12:19:30 +0000 (12:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 10 Jun 2011 12:19:30 +0000 (12:19 +0000)
commit7871eee372692f471507a857b8eac77598fbdb03
treeeb3483391707f9daf8809624bb34f846854ef083
parentdae957ae7563f1cba453d1c785a893eb8bf13d3d
re PR tree-optimization/49361 (Huge 470.lbm regression)

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.

From-SVN: r174903
gcc/ChangeLog
gcc/fold-const.c