diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-10-27 09:30:32 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-10-27 09:30:32 +0000 |
commit | b4838d77014a4bb6e9d3cd4a1e31ab303de268b9 (patch) | |
tree | e461030724a5d900e04e8f664d357d95208b1169 /gcc/tree-vect-generic.c | |
parent | 4d7836c4361c5ae2f703c03e789ac0c533dd80be (diff) | |
download | gcc-b4838d77014a4bb6e9d3cd4a1e31ab303de268b9.zip gcc-b4838d77014a4bb6e9d3cd4a1e31ab303de268b9.tar.gz gcc-b4838d77014a4bb6e9d3cd4a1e31ab303de268b9.tar.bz2 |
Move pow folds to match.pd
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.
gcc/
* builtins.c (fold_builtin_pow): Delete in favor of...
(fold_const_builtin_pow): ...this new function. Only handle constant
arguments.
(fold_builtin_2): Update accordingly.
* match.pd: Add rules previously handled by fold_builtin_pow.
gcc/testsuite/
* gcc.dg/torture/builtin-math-1.c: Skip at -O0.
From-SVN: r229408
Diffstat (limited to 'gcc/tree-vect-generic.c')
0 files changed, 0 insertions, 0 deletions