aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-28 21:15:39 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-28 21:15:39 +0200
commit30a2c10eb639f1855fe7e060552f09c706efa532 (patch)
tree707858c0b19b0db09b4434b773deb95486f2dae0 /gcc/fold-const.c
parentcefc09063eb4b0eb572c89c3f0657e5b5e36e77d (diff)
downloadgcc-30a2c10eb639f1855fe7e060552f09c706efa532.zip
gcc-30a2c10eb639f1855fe7e060552f09c706efa532.tar.gz
gcc-30a2c10eb639f1855fe7e060552f09c706efa532.tar.bz2
re PR middle-end/82004 (SPEC CPU2017 628.pop2_s miscompare)
PR tree-optimization/82004 * gimple-match-head.c (optimize_pow_to_exp): New function. * match.pd (pow(C,x) -> exp(log(C)*x)): Wrap with #if GIMPLE. Don't fold to exp if optimize_pow_to_exp is false. * gcc.dg/pr82004.c: New test. From-SVN: r258930
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions