OSDN Git Service

2006-10-21 Uros Bizjak <uros@kss-loka.si>
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2006 20:05:35 +0000 (20:05 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2006 20:05:35 +0000 (20:05 +0000)
commitfeb5b3eb277f1baf83ad1cd1362849d24e357cf0
tree0b1857927bfdd0fd605f71bf64a94a534bc8cac2
parent7d3afc778e97bc3b87540802760bfc585394fef4
2006-10-21  Uros Bizjak  <uros@kss-loka.si>

        PR middle-end/28252
        * builtins.c (fold_builtin): Fold pow(x,1.0/3.0) as cbrt(x) if
        flag_unsafe_math_optimizations is set.

testsuite/ChangeLog:

        PR middle-end/28252
        * gcc.dg/builtins-8.c: Also check pow(x,1.0/3.0) to cbrt(x)
        transformation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117937 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-8.c