diff options
author | Richard Guenther <rguenther@suse.de> | 2006-12-13 10:17:36 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-12-13 10:17:36 +0000 |
commit | 75c7c595ac14c1ea2ea36eecd1eab3e314903377 (patch) | |
tree | edd4f764129b7d185816c6c0b6b0db7d95bf7ba6 /gcc/tree-inline.c | |
parent | 54200abb68aed1ddf147251fcbe402549482d499 (diff) | |
download | gcc-75c7c595ac14c1ea2ea36eecd1eab3e314903377.zip gcc-75c7c595ac14c1ea2ea36eecd1eab3e314903377.tar.gz gcc-75c7c595ac14c1ea2ea36eecd1eab3e314903377.tar.bz2 |
re PR tree-optimization/17687 (sincos tree representation causes extra addressable vars)
2006-12-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/17687
* builtins.def (BUILT_IN_CEXPI, BUILT_IN_CEXPIF, BUILT_IN_CEXPIL):
New builtins for imaginary argument cexp.
* builtin-types.def (BT_FN_COMPLEX_FLOAT_FLOAT,
BT_FN_COMPLEX_DOUBLE_DOUBLE, BT_FN_COMPLEX_LONGDOUBLE_LONGDOUBLE):
New required builtin types.
* builtins.c (expand_builtin_cexpi): Declare.
(mathfn_built_in): Handle BUILT_IN_CEXPI.
(expand_builtin_cexpi): New static helper.
(expand_builtin): Call it.
(do_mpfr_sincos): Adjust for CEXPI evaluation.
(fold_builtin_sincos): New function to fold sincos to cepxi.
* gcc.dg/builtins-59.c: New testcase.
From-SVN: r119824
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions