diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-05 13:37:15 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-05 13:37:15 +0000 |
commit | 4c9156537c50c4de823aa9d4d1c8f611abf01782 (patch) | |
tree | 1e4a42eb36f306f1da5a94e136fcbde03c213296 /gcc/go | |
parent | f7e1363cd20b685d73a5437cc19fb38cbf291069 (diff) | |
download | gcc-4c9156537c50c4de823aa9d4d1c8f611abf01782.tar.gz |
Add a build_real_truncate helper function
...which simplifies the match.pd patterns I'm about to add.
Bootstrapped & regression-tested on x86_64-linux-gnu.
gcc/
* real.h (build_real_truncate): Declare.
* tree.c (build_real_truncate): New function.
(strip_float_extensions): Use it.
* builtins.c (fold_builtin_cabs, fold_builtin_sqrt, fold_builtin_cbrt)
(fold_builtin_hypot, fold_builtin_pow): Likewise.
* match.pd: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions