OSDN Git Service

2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 19:11:19 +0000 (19:11 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 19:11:19 +0000 (19:11 +0000)
commitae43b05e18d3e6498309b0a1cce4fbef7ff73098
tree55dafe7cac0581d42b0e70b4b8848b51d77f7d6a
parentb3a2ccd79bdb6fc553e882d03398e989e963a939
2011-05-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/46728
* tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location.
(powi_as_mults): Add gimple_set_location.
(build_and_insert_call): New.
(gimple_expand_builtin_pow): Add handling for pow(x,y) when y is
0.5, 0.25, 0.75, 1./3., or 1./6.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174349 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-math-opts.c