aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-21 20:16:36 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-21 20:16:36 +0000
commit4adfc9a5d353d64b5bf39536064d300f9e45a0cf (patch)
tree92fc7ae80645bb51dac3ca4e697a59042c1d8bd8 /include
parent6a75d560c855081ddb8147bf6cec378cda55901b (diff)
downloadgcc-4adfc9a5d353d64b5bf39536064d300f9e45a0cf.zip
gcc-4adfc9a5d353d64b5bf39536064d300f9e45a0cf.tar.gz
gcc-4adfc9a5d353d64b5bf39536064d300f9e45a0cf.tar.bz2
Remove fold_strip_sign_ops
This patch deletes fold_strip_sign_ops in favour of the gimple-ssa-backprop.c pass. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ * fold-const.h (fold_strip_sign_ops): Delete. * fold-const.c (fold_strip_sign_ops): Likewise. (fold_unary_loc, fold_binary_loc): Remove calls to it. * builtins.c (fold_builtin_cos, fold_builtin_cosh) (fold_builtin_ccos): Delete. (fold_builtin_pow): Don't call fold_strip_sign_ops. (fold_builtin_hypot, fold_builtin_copysign): Likewise. Remove fndecl argument. (fold_builtin_1): Update calls accordingly. Handle constant cos, cosh, ccos and ccosh here. gcc/testsuite/ * gcc.dg/torture/builtin-symmetric-1.c: Don't run at -O0. From-SVN: r229140
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions