aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-11-17 18:47:02 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-11-17 18:47:02 +0000
commitb03ff92e67280a98ab1587e0460069eea0fd5a8b (patch)
treea5d1ace93e0252d5801b679ce67304637037962a /gcc/tree.h
parent7a31e5ef6dab7c1a2d780369804352351f4630ea (diff)
downloadgcc-b03ff92e67280a98ab1587e0460069eea0fd5a8b.zip
gcc-b03ff92e67280a98ab1587e0460069eea0fd5a8b.tar.gz
gcc-b03ff92e67280a98ab1587e0460069eea0fd5a8b.tar.bz2
Extend mathfn_built_in to handle combined_fn
This patch extends mathfn_built_in to handle combined_fn, but keeps the old built_in_function interface around since it's a common case. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ * builtins.h (mathfn_built_in): Add a variant that takes a combined_fn. * builtins.c: Include case-cfn-macros.h. (CASE_MATHFN): Use CASE_CFN_*. (CASE_MATHFN_REENT): Use CFN_ codes. (mathfn_built_in_2, mathfn_built_in_1): Replace built_in_function argument with a combined_fn. (mathfn_built_in): Add a variant that takes a combined_fn. (expand_builtin_int_roundingfn_2): Update callers accordingly. (fold_builtin_sincos, fold_builtin_classify): Likewise. From-SVN: r230483
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions