diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-05-19 04:18:05 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-05-19 04:18:05 +0000 |
commit | 752b7d38db4314d146297c6736ec9ab65068ffa8 (patch) | |
tree | f61dbc1f8b3d760ebbede40c819cb5f93b517e5c /gcc/c-common.c | |
parent | 0470f5730bb47ea53e379beda804f6eb8c57f735 (diff) | |
download | gcc-752b7d38db4314d146297c6736ec9ab65068ffa8.zip gcc-752b7d38db4314d146297c6736ec9ab65068ffa8.tar.gz gcc-752b7d38db4314d146297c6736ec9ab65068ffa8.tar.bz2 |
re PR middle-end/30250 (Evaluate lgamma/gamma at compile-time)
PR middle-end/30250
* builtins.c (do_mpfr_lgamma_r): New.
(fold_builtin_2): Handle builtin gamma_r/lgamma_r.
* tree.h (CASE_FLT_FN_REENT): New.
testsuite:
* gcc.dg/torture/builtin-math-2.c: Add gamma_r/lgamma_r tests.
* gcc.dg/torture/builtin-math-4.c: Likewise.
From-SVN: r124849
Diffstat (limited to 'gcc/c-common.c')
0 files changed, 0 insertions, 0 deletions