diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-10-22 08:32:01 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-10-22 08:32:01 +0000 |
commit | cfed37a03b7a495b25e63d335e9f00e2dc9583f0 (patch) | |
tree | 80022a09c55f138c2131bfb05b749ba87d72d72c /gcc/fold-const.c | |
parent | 92c52eab974ce9e1c81d770724adb56846bcaa4b (diff) | |
download | gcc-cfed37a03b7a495b25e63d335e9f00e2dc9583f0.zip gcc-cfed37a03b7a495b25e63d335e9f00e2dc9583f0.tar.gz gcc-cfed37a03b7a495b25e63d335e9f00e2dc9583f0.tar.bz2 |
Move tan simplifications to match.pd
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.
gcc/
* builtins.c (fold_builtin_tan): Delete.
(fold_builtin_1): Handle constant tan arguments here.
* match.pd: Simplify (tan (atan x)) to x.
From-SVN: r229166
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions