PR middle-end/84309
commit0652a5d0d764bbe061e5bc1181cd54147f4ef484
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 20:22:50 +0000 (13 20:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 20:22:50 +0000 (13 20:22 +0000)
tree1bb519d1d5159b207857834386da8bb2e6d1157c
parent446afaa9c54b136a50431211c1ea0a1671efa2bd
PR middle-end/84309
* match.pd (pow(C,x) -> exp(log(C)*x)): Use exp2s and log2s instead
of exps and logs in the use_exp2 case.

* gcc.dg/pr84309-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257634 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr84309-2.c [new file with mode: 0644]